I think I've discovered a means to use the strings, But I'm not sure yet
heres the URLIf you want to help, I just need to figure out what parts of the code do what
Not sure how its done, but I think it has something to do with istream (Input Stream)
But I think I have all the parts I need,
Now its all about putting them in order
I'm still looking more, But I recently hit a snag.
Apparently, you cannot change a string into an Executable code ([url=http://bytes.com/forum/thread170066.html]Source[url])
THis was pretty much what I was trying to do.
Makes me think about Trying to learn java again....
In anycase,
I'm now thinking about making the program run text documents instead of just gather strings from them.
THis Might get a bit complicated but in all, I think its worth it
Everything Can be catagorized by
1) Item
-Is it used immedietly?
-What does it do when used?
-What
2) Carryable Items
-If hit on top what does it do?
-If thrown what does it do?
--A shell will go sideways quickly
--A Boomerang will go up, sideways then back towards you
-What if it hits something? (For each object; Block, terrain, Item, Player, Another Carryable Item)
3) Block
-Direction it needs to be hit
-Necessary Buttons (To go through a pipe, you must press down)
-What it does
4) Enemy
-States (Depending on which state an enemy is in, they will move differently or be invincible, like a transformer. It just calls different things from them)
--Trigger for state change (When a Turtle is Stepped on it will turn into a shell and a turtle)
--Paths/physics for each state
--Hitboxes for each state and what it causes
--Graphics/Animations for each state.
5) Theme-Which includes; Tileset, Music and Physics
Overall, When you run one "Level script"
-It would only cause a few of these other scripts to be loaded
--Pretty Much Just Repeating what is currently in place except each Script would have its own file, making everything alot more convienient for those trying to make items, enemies, blocks, etc.