Mac School App Help!

BeerThePoodle

macrumors newbie
Original poster
Mar 17, 2014
3
0
I'm using Xcode right now and I need to make a app for Science.

App I want to make: http://www.humanbenchmark.com/tests/reactiontime/

I am not making the same app I have some changes.

I want to add 15 sounds as a selection so when the background colour changes it will also make a noise. Is it possible anyone can help me! Thank you!:apple:
 

BeerThePoodle

macrumors newbie
Original poster
Mar 17, 2014
3
0
I made the menu. I inserted the button "Play Game" and it goes to another view where it says "Wait till the background turns green". Can someone help me with this I am struggling really badly. I don't want you to make it for me just to help. If you can thank you!
 

ArtOfWarfare

macrumors G3
Nov 26, 2007
8,565
3,975
I made the menu. I inserted the button "Play Game" and it goes to another view where it says "Wait till the background turns green". Can someone help me with this I am struggling really badly. I don't want you to make it for me just to help. If you can thank you!
We can't help if you haven't shown us what you've tried so far.
 

Red Menace

macrumors 6502
May 29, 2011
389
50
Littleton, Colorado, USA
You need to actually show us what you have done so far (and preferably not a screenshot), or at least ask a specific question ("help me" isn't very specific).

What is in your ViewController or Game class files?
 

chown33

Moderator
Staff member
Aug 9, 2009
8,423
4,425
Pale blue comma
Your screen shot shows what appears to be an iOS app. This forum is for Mac apps, not iOS apps.

To write an app that actually runs on your iPhone, as distinct from running in Xcode's iOS simulator, you must pay Apple's $99/year developer fee.

The link you provided in your 1st post is to a web page with JavaScript. Why don't you write your app in HTML and JavaScript, just like the example you linked to? You don't need Xcode to do that, you don't need to learn Objective-C, and you don't need to pay $99 to Apple to make it run on your iPhone. You will still need to learn JavaScript and HTML, but you have a working example (your link).

The one thing missing from the linked example is playing a sound. See here:
http://www.phon.ucl.ac.uk/home/mark/audio/play.htm

Note that playing sounds from JavaScript can be tricky.

You should read everything at the link I posted, and try every example they provide, on every target platform you intend to use in your science project (i.e. try it on every iOS version, every Mac OS version, and every browser version you intend to support). Keep notes on exactly which method works in which browser and which platform. If there isn't a single universal method, then you'll either have to limit the platforms you support, or you'll have to learn more about how to write HTML or JavaScript that sense what platform it's running on. Welcome to real-world programming.

If you have no programming experience at all, you will be better served by learning to write JavaScript and HTML, rather than trying to learn Objective-C for iOS and needing to pay $99.


Finally, you haven't actually told us what platforms you intend to run your app on, what your programming experience is, what date the project must be completed by, what your OS version is, and various other things. I have simply made guesses about your intent based on what you've posted so far.

If your real intent is to write a Mac-resident program, then there are more ways to do that than there are for targeting iOS. In particular, Mac programs can be written in more languages, and don't need a $99 fee to run them.

Rather than making further guesses, or needing to infer your intent, please post a clear statement of what your experience is, what platform your app needs to run on, when it must be completed by, and a list of its features. In other words, be specific about what you want to accomplish.