Search Results

Search found 4 results on 1 pages for 'aljaree'.

Page 1/1 | 1 

  • Creating the “game space” for a 2D game

    - by alJaree
    How does one setup the game space for a game so that obstacles can be spawned? One example I am wondering about is doodle jump. Tile maps are limited in size and would need to change often if the user jumps a lot. How would this be done in another way than tile maps. How or what is used to create the notion of a game world where these spawned ledges/obstacles are placed as the user progresses through the stage? What is actually moving if the user jumps from ledge to ledge, what are the ledges based on in terms of the game world/space. What data structure or representation could the game use to reference and manage the spawning of these obstacles/ledges?

    Read the article

  • 3d environments and managing them on iOS

    - by alJaree
    I would like to start learning 3d game development and currently only develop 2d games. A few basic questions I am interested in are: What is used to create the 3d environments? Are they all done in e.g. Maya, Lightwave, 3d modeling software? What is the output format for these models and how are they manipulated in iOS? Is it all done using openGL(GL ES on iOS)? e.g a monster needs to be spawned in the game world. What coordinates are used? Are the concepts the same as 2d in terms of collision on the coordinates and movement on the coordinates of the game world? How are 3d games managed in iOS on the low available memory. (e.g. FPS games) Lastly, Can someone please recommend a good book that is up to date and can be applied to todays techniques. Thanks

    Read the article

  • NSUserDefaults: detecting nil

    - by alJaree
    I have some code in my classes to read from NSUserDefaults NSUserDefaults *defs = [NSUserDefaults standardUserDefaults]; score = [defs integerForKey:@"score"]; this causes a crash. Im guessing it is because the score value is nil or doesnt exist. How can I check if it is nil? EDIT. The following code causes a crash when storing to NSUserDefaults. NSUserDefaults *defs = [NSUserDefaults standardUserDefaults]; [defs setInteger:0 forKey:@"score"]; [defs setInteger:3 forKey:@"lives"]; [defs release]; Im not sure what the issue is On some crashes there isnt even a crash report in the console. Thanks

    Read the article

  • How do I change the background image of my iPhone app?

    - by alJaree
    Hello I have looked around and found some code which so called chooses an image from an array of image objects, but cant find an explanation. I would like to make my app have a background image and the user can select next and previous buttons to scroll through some full screen images, setting them as the background image as they scroll. I know how to do this in java, but cant seem to do it for this app. How or what code is linked to a next button to grab the next image in the array and reverse for the back button? Then that needs to be displayed obviously. I have used a layered architecture with a MVC style approach but cant seem to put it together with Objective-C. Would the buttons call the appropriate methods of the so called delegates, which the delegates handle fetching and returning the Images? Would the buttons use the returned images and actually handle the redrawing? I would really appreciate the help. Regards Jarryd

    Read the article

1