oh and loving the game, but i always go into negatives with my health. is it suppose to be like that? cause the game never ends for me, until it crashes.
oh and loving the game, but i always go into negatives with my health. is it suppose to be like that? cause the game never ends for me, until it crashes.
The same happens to me. I have never lost a game before, even when my "health" was negative. It also doesn't seem to crash logically, meaning, it isn't clocking out the Zune, it is just turning off at a certain time, because once when I played it crashed when there were no enemies on the screen and also the time hadn't run out for that wave yet.
__________________
"If Barbie is so popular, why do you have to buy her friends?"
thats my problem, i have no idea how to track down the reason...and its never crashed on me... about the negative lives.....*face palm* i completely forgot to add the game over....
As for my new project....it's a secret
__________________
I am working on: Zune TD - Version 1.0.5 released 2/25/2009
Zune TD - Version 2.0.0 Unreleased (50% done)
No, not really....and I had tests in all 4 of my classes in a 2 day span so I haven't gotten to read much either....
The whole code that they posted there is confusing and they were discussing errors and changing it...in mysterious ways without posting the changes >.>
All I got was that they're writing to a txt file that they open out of thin air.....(well a complex command but its still magic to me). I'd love to read up on it by my teacher certification takes top priority atm....
(Grats on 777! This is by 111 post, weird coincidence lol)
__________________
I am working on: Zune TD - Version 1.0.5 released 2/25/2009
Zune TD - Version 2.0.0 Unreleased (50% done)
lol@ the posts thing. When I get home from school today, I'll see if I can write something up for you.
Code:
public void Save
{
StorageDevice device = Guide.EndShowStorageDeviceSelector(Guide.BeginShowStorageDeviceSelector(PlayerIndex.One, null, null));
if (device != null)
{
StorageContainer container = device.OpenContainer("Game Name or whatever");
BinaryWriter writer = new BinaryWriter(File.Create(Path.Combine(container.Path, "file.txt")));
//Write your variables here
//flushes the binary writer
writer.Flush();
//closes the writer
writer.Close();
//disposes of the container, since it's no longer being used
container.Dispose();
}
}
public void Load
{
StorageDevice device = Guide.EndShowStorageDeviceSelector(Guide.BeginShowStorageDeviceSelector(PlayerIndex.One, null, null));
//if the storage device doesn't properly open, this code will not execute
if (device != null)
{
StorageContainer container = device.OpenContainer("Game Name or whatever");
if (File.Exists(Path.Combine(container.Path, "file.txt")))
{
//loads the file that you earlier saved, complete with error handling (if //file.exists..)
BinaryReader reader = new BinaryReader(File.Open(Path.Combine(container.Path, "file.txt"), FileMode.Open));
//Load your variables here
//closes the reader
reader.Close();
}
//if file exists, it will load and then dispose, else it will dispose. No sense
//trying to load a file that doesn't exist
container.Dispose();
}
}
there, i wrote something up. I hope it helps you. Feel free to ask questions. I think there's better ways of doing this, but this is what i use to save and load high scores.
Also this project is very close to its end. I am very interested in getting started on the next game. So If anyone sees a game in the request section that they would like, send me a PM. There's a lot of games there but I would love to work on one that people would be excited about. (Maybe an admin could give us a way to allow people to vote on which request the public would like the most?)
I don't think there's really a way to do a write-in poll... Because I just checked.
Warioware is VERY tempting, just because of how simple and fast it would be (Just create an abstract "game" class and build different mini games off of it) But my only issue would be if the zune could process the textures fast enough that the mini games could be fast and hectic....
What im thinking is just have a million mini games coded as classes themselves (I cant imagine the ram getting eaten very fast) And load the classes into the generic container and play it, then dispose and load the next. sort like how game states are managed.
Here's the flow
<main menu> - <pick random game> - <move random game into game class> - - <finish game> - <load next game into same game class> - blah blah blah
Putting it this way anyone could create the basic design in less than an hour. (but the issue is making all the mini games them selves. If someone will throw some concepts and sprites at me Ill build the engine real fast after Physics tomorrow. Ill hold off on creating a thread until I get some confirmation that this is entirely possible. (Please tell me it is).
I was going to write stolen but the thread is still locked >.> CRY!!!!!!!!!!!
__________________
I am working on: Zune TD - Version 1.0.5 released 2/25/2009
Zune TD - Version 2.0.0 Unreleased (50% done)
on level 7 my towers just stopped firing never happened before until this release
__________________
12/31/08 The Day The Music Died
Quote:
Originally Posted by Toast
If you refuse to use the search button and reply to one of those.
or you refuse to provide information to support your argument.
You get flamed, Simple.
The ghost level right? The spiked towers cant attack the air units any more.
Uploaded a quick hotfix, since i realize the towers have changed quite a bit. Its not giving it a new version but I added the display of a few of the towers properties in the tower selection screen.
When I finish the menu ill give it a new version.
__________________
I am working on: Zune TD - Version 1.0.5 released 2/25/2009
Zune TD - Version 2.0.0 Unreleased (50% done)