Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411543 Posts in 69383 Topics- by 58442 Members - Latest Member: vicemask

May 03, 2024, 03:20:02 AM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsCommunityDevLogsThe Dammed Prototype
Pages: 1 [2]
Print
Author Topic: The Dammed Prototype  (Read 8372 times)
Retro
Level 2
**


Matej Jan


View Profile WWW
« Reply #20 on: May 24, 2011, 04:19:08 PM »

Day 9

It's time to call this done. I can't spend any more time on the prototype and it's as ready for evaluation as it needs to be for now.

At last I added in cracks and they add a little bit of urgency to your dam building. The faster the water flows past your dam, the more it starts cracking your structure. This usually happens if you leave a narrow corridor somewhere, which is a usual side effect of not getting the right pieces and only concentrating on another part of the dam.

The way I code things in objective-c has certainly reached its limits. Creating a lot of objects in your game loop is definitely not the way to go - which is a thing I already learned in XNA, but unfortunately objective-c doesn't have structs the way C# does them, so I created all structures as classes. This means vector and matrix calculations (which are structs in XNA) all need allocations on the heap and releasing in each game loop. This, together with other structs like Point and Color, makes the releasing of the memory 25% of the game loop.

Good enough on the simulator, not good enough on the iPad. While the thing is playable, it's definitely not something to pitch your idea. Thankfully this just needs to be good enough to evaluate in-house.

I'm off to studying for exams and I'll also be off mac for a while, until Lion comes along. So unfortunately any XNI tutorials and upgrades will have to wait.

Here is the final screenshot and a video of playing with disaster.


Video:

Logged

Retro
Level 2
**


Matej Jan


View Profile WWW
« Reply #21 on: July 29, 2011, 09:19:31 AM »

RCIX, the day has finally come: -> XNI Framework thread.
Logged

Pages: 1 [2]
Print
Jump to:  

Theme orange-lt created by panic