Sign in to follow this  
  • entries
    78
  • comments
    210
  • views
    36655

...

Sign in to follow this  
TraderJack

376 views

Gamedev,

Alright, now to begin the entry, I'd first like to note that in the 'PS' you can find my answers to the comments for the last entry, where Sapo asked a question about my game engine and I gave a huge answer, so I thought I might as well re-post here.

So anyhow, I'm going to be shouting out to my fellow GDNet+ers right now. Lets begin.

Stompy: You get the first shout out, because you're my main man. Too bad you went to the dark side (SDL), but it's good to see you're making progress on your project. More entries, I say!!

Sapo: Ugh, sorry for leaving you out, dude! Here you are! You're one of my main G's too. I need my new computer before I take a good shot at Angels 20 demo. Can't wait!

ilDave: You're my new gangster, man. Welcome to GDNet+, you're awesome.

noaktree: You have dreads, you make art, you program lawn mowers. You are also awesome.

Hermit: Keep us posted on the project! It's good to see you've put together a team... I tried so hard, it's really tough to find dedication out there with the Help Wanted Forum loosing it's credibility and all.

Visage: Dude, you are awesome. And your sister is hot.

NickGeorgia: You're beyond me, dude. Keep up the great work!

Programmer16: Good luck finding that artist, dude. Nice armor.

Battagline: Oh man, the most popular GDNet Showcase game? You kick ass and take names. My new computer Alexis is almost up and running, so I'll be playing Epoch soon enough!

SimmerD: Where are the updates, dude? Your stuff was awesome.

Evolutional: I've been showing your kick-ass avatar to all my people. Nice!

Xtremehobo: Dude, I want to talk to you about cheap audio software for my podcast. You're the authority dude, you rock.

Zefreig: Get a membership, dude! Where you at?

Oh, and if I didn't include you in my list and you have 5000+ views on your journal, it's cause you guys are the elite, and I don't know you guys yet :/. Evolutional is one of them, but I had to mention the avatar. And if I forgot you, my bad. Tell me and I'll edit you in.

So anyhow, onto the answers to yesterday's comments, and more tomorrow. PEACE!

-IV

PS:
@ildave1: Yeah man, making the best of it!

@Neil: Lol, didn't you make that model yourself a few months ago?

@Sapo: All I have to do is pick enemy type, his graphic, and any other little details and plug him in at his x,y coordinate. It's a great system. For example, if I want to make an enemy at coordinates (10,0) who patrols back and forth between two given points on the x (I'll pick 0 and 40), I pick the 'patrolent' class I made, give him a bitmap (lets call the bitmap entimage), declare him in the level header with:

patrolent this_enemy;


and plug in three lines.

I put him in level1::startup() with this initialization line:

this_enemy.init( 10, 0, enemypic, 0, 40);


Put him in level1::draw() with this line:

this_enemy.draw();


And so he runs, I put him in level::run(); with this line:

this_enemy.move();


So I just declare an array of them for each level, I have a line for each one's initialization, and then a for() loops to move and draw them all. So it's a very customizable engine from which I can just add any enemies I've forgot in less than a minute, or tweak enemies I've miss placed. I also write my code in a very orginized, easy to locate fasion.
Sign in to follow this  


7 Comments


Recommended Comments

Oh shit! My bad dude. I knew I left someone out. You were supposed to be in there when I first thought of it... my bad, my bad! You're in now.

-IV

Share this comment


Link to comment
Hey Trader... just making sure you know I read your journal. Keep up the good work... and you still haven't got you computer up and running? What's the deal? hehe

Share this comment


Link to comment
Quote:
noaktree: You have dreads, you make art, you program lawn mowers. You are also awesome.
[smile] Thanks dude but I don't have dreads. That was my sister's boyfriend. Hehe. I look more like this...



Quote:
@Neil: Lol, didn't you make that model yourself a few months ago?
Yeah... and hey you can be the first sucker lucky guy to buy it here. [grin]

Share this comment


Link to comment
Quote:
Stompy: You get the first shout out, because you're my main man. Too bad you went to the dark side (SDL), but it's good to see you're making progress on your project. More entries, I say!!


I haven't forgotten Allegro though. I'm actually writing some articles for GameDev about Allegro, and I might go back to it for another project. I just like to broaden my horizens when it comes to programming, and I figured this would be a good start.

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now