EOSERV Forum > Programming > Monster Blaster! C++ console game [Windows Only]
Topic is locked.
Page: << 1 >>
Monster Blaster! C++ console game [Windows Only]
Author Message
Post #138591 Monster Blaster! C++ console game [Windows Only]

Hey guys I spent a little bit of time today making a console game. It's pretty neat. 

Newest Version: 

Download v.02: http://www.mediafire.com/?5hxbn4eqdb59406


Older versions:

Download v.01: http://www.mediafire.com/?2zlaz4hngxt4u10 

I know it's buggy and weird but give it a try.


Screenies:

V.02

---
Love you too.
13 years, 18 weeks ago
Post #138600 Re: Monster Blaster! C++ console game [Windows Only]

Screenshot or gtfo :P

13 years, 18 weeks ago
Post #138605 Re: Monster Blaster! C++ console game [Windows Only]

Alright give me a second!

Edit: Screenies in first post.

---
Love you too.
13 years, 18 weeks ago
Post #138611 Re: Monster Blaster! C++ console game [Windows Only]

I would make it so it only redraws when it needs to. Also, I would have Up,Down,Left, & Right keys work as well as WASD. It's nice and simple, but all the redrawing makes me almost have a seizure. Not a workaround for that though.


---
http://www.addipop.com
13 years, 18 weeks ago
Post #138631 Re: Monster Blaster! C++ console game [Windows Only]

I don't know if there's a gotoxy function as there is in pascal, but when I code console games in pascal I make the console go to the xy location of the old player position, draw a space so it effectively erases the previous position of the player then simply go to the new location of the player and redraw the character :) Kudos for the C++ though :P 

---
If money doesn't grow on trees, then why do banks have branches?
13 years, 18 weeks ago
Post #138639 Re: Monster Blaster! C++ console game [Windows Only]

@Addison I think I know how I am going to fix the seizure inducing graphics haha. Thanks for the feedback.

@DanScott I actually didnt use a gotoxy function. I made a nested loop that draws a grid and checks for if a player, monster, or bullet occupies the space it's trying to draw then draws it there. I didn't even bother looking up gotoxy :P.

On a side note does anyone want the source? it's messy but I'm sure someone could learn from it haha.

---
Love you too.
13 years, 18 weeks ago
Post #138644 Re: Monster Blaster! C++ console game [Windows Only]

I can't get it to start :( After i press "any key" to continue it just fucking sits there and does nothing.

---
...
13 years, 18 weeks ago
Post #138645 Re: Monster Blaster! C++ console game [Windows Only]

use WASD to move around. I dunno if it depends on ur OS lal

---
Skype: izumibluuh

I sincerely apologize for my posts from when I was 12.
13 years, 18 weeks ago
Post #138646 Re: Monster Blaster! C++ console game [Windows Only]
iSnow posted: (25th Mar 2012, 09:33 pm)

use WASD to move around. I dunno if it depends on ur OS lal

I know the controls. The problem is that it won't get past the home screen.
---
...
13 years, 18 weeks ago
Post #138653 Re: Monster Blaster! C++ console game [Windows Only]

Updated first post. You can lose the game now, seizures arent as bad. Fixed alot of bugs.

@Haze download the new version see if it works.

---
Love you too.
13 years, 18 weeks ago
Post #138654 Re: Monster Blaster! C++ console game [Windows Only]
newguy posted: (26th Mar 2012, 12:16 am)

Updated first post. You can lose the game now, seizures arent as bad. Fixed alot of bugs.

@Haze download the new version see if it works.


Yeah it works now. It's really glitchy and laggy though.
---
...
13 years, 18 weeks ago
Post #138680 Re: Monster Blaster! C++ console game [Windows Only]

I love console games, always have done! I know it's a little weird but I'd love to someone develop a serious console game rather than just some super simple 10 line shooter. Mmmmm....

---
http://sordie.co.uk
http://twitter.com/@SordieEO
13 years, 18 weeks ago
Post #138693 Re: Monster Blaster! C++ console game [Windows Only]

@Sordie thanks! I have a little networked-console game thing with chat working right now. I wanna add map loading and maybe some console scrolling haha. I love console games they just give me this ultra-nerd super cool feeling.

---
Love you too.
13 years, 18 weeks ago
Post #138728 Re: Monster Blaster! C++ console game [Windows Only]

I was modifying this nobs game, he was teaching me c++, now my mom stole my USB internet adapter and I'm trying to find out where she hid it :(

EDIT: really who keeps 1- my posts? weirdo

---
Skype: izumibluuh

I sincerely apologize for my posts from when I was 12.
13 years, 18 weeks ago
Post #138986 Re: Monster Blaster! C++ console game [Windows Only]

If anyone still cares - I just tried using OpenCL (CL, not GL =P) to do effects on console buffers @ 80x25 chars.. standard console buffer format, one byte for the ASCII and one for the colour. On a pretty basic laptop GForce 420M, telling

clEnqueueNDRangeKernel
to use just one core (well, one group) is doing a 1k Gaussian blur at a rate incalculable by mmsystems performance counter.

This is pretty much as you'd imagine.. The CPU is more than capable of rendering the console frame buffer (including the xfers to GFX memory) at the maximum rate the windows console can update (which seems to be 60fps despite a faster refresh rate).

So seems using the GPU is overkill, but now I want to write a GPUrobots kinda game where robots are written in GLSL or CUDA and run as a swarm. hehe

EDIT: Updated the test.. Now using OpenSL to convert any size 24bpp or 32bpp (alpha ignored) bitmap to a console buffer. I will clean this up and paste an example here (in Pascal+GLSL).. displaying jpgs on the console atm but I'll render a simple OpenGL wireframe cube to a texture and feed that in for some nice 3D console animations =P

EDIT: Eeeks, kinda threadjacked with my console fetish, soz.. I'll actually make a new thread tomorrow with some actual code =P

---
http://sordie.co.uk
http://twitter.com/@SordieEO
13 years, 17 weeks ago
Page: << 1 >>
Topic is locked.
EOSERV Forum > Programming > Monster Blaster! C++ console game [Windows Only]