Page 1 of 6

anyone wanna make an UGH! remake?

Posted: Thu Dec 04, 2008 9:46 pm
by avansc
http://www.youtube.com/watch?v=YthG41fs2zg

please tell me at least someone has played this before.

i wanna make a remake over the weekend. wanna know if someone wants to help.

Re: anyone wanna make an UGH! remake?

Posted: Fri Dec 05, 2008 12:49 pm
by PixelP
I've never played this game, but it looks really cool.

Re: anyone wanna make an UGH! remake?

Posted: Fri Dec 05, 2008 12:55 pm
by avansc
PixelP wrote:I've never played this game, but it looks really cool.
i know you asked about level saving and so on.
if you are interested, i will walk you through making this game over the weekend, and we can impliment
a saving and loading from binary files so you can get used to the more advanced stuff.

Re: anyone wanna make an UGH! remake?

Posted: Fri Dec 05, 2008 4:23 pm
by PixelP
avansc wrote:
PixelP wrote:I've never played this game, but it looks really cool.
i know you asked about level saving and so on.
if you are interested, i will walk you through making this game over the weekend, and we can impliment
a saving and loading from binary files so you can get used to the more advanced stuff.
That sounds great! But do you think you can make it in just one weekend?

Re: anyone wanna make an UGH! remake?

Posted: Fri Dec 05, 2008 4:41 pm
by avansc
PixelP wrote:
avansc wrote:
PixelP wrote:I've never played this game, but it looks really cool.
i know you asked about level saving and so on.
if you are interested, i will walk you through making this game over the weekend, and we can impliment
a saving and loading from binary files so you can get used to the more advanced stuff.
That sounds great! But do you think you can make it in just one weekend?

sure, its onlt maybe 1000 lines of code to get a basic one up.
do you know any SDL, OpenGL.... any sort of graphics library?

Re: anyone wanna make an UGH! remake?

Posted: Fri Dec 05, 2008 4:43 pm
by PixelP
avansc wrote:sure, its onlt maybe 1000 lines of code to get a basic one up.
do you know any SDL, OpenGL.... any sort of graphics library?
Yeah, I'm doing SDL, I know some allegro too.

If anyone want to play UGH, you can donwload it at: http://www.bestoldgames.net/eng/old-games/ugh.php

Re: anyone wanna make an UGH! remake?

Posted: Fri Dec 05, 2008 4:52 pm
by avansc
PixelP wrote:
avansc wrote:sure, its onlt maybe 1000 lines of code to get a basic one up.
do you know any SDL, OpenGL.... any sort of graphics library?
Yeah, I'm doing SDL, I know some allegro too.

If any one want to play UGH you can donwload it at: http://www.bestoldgames.net/eng/old-games/ugh.php
i have the original floppy disks.

okay, so lets just use SDL, there is a library called SDL_gfx thats nice for sprites and so on. so gee if you can get it runnning on you compiler.
if you cant we will just make a vector version. just black, with white lines. it a nice feel. and right now we dont care about eyecandy, we care about getting you to make a sweet game. let me know when you are ready. i think we can do it in this thread, that way other people can follow us.

Re: anyone wanna make an UGH! remake?

Posted: Fri Dec 05, 2008 5:01 pm
by PixelP
avansc wrote:i have the original floppy disks.
That's great! My favorite DOS game is Jetpack.
avansc wrote:okay, so lets just use SDL, there is a library called SDL_gfx thats nice for sprites and so on. so gee if you can get it runnning on you compiler.
if you cant we will just make a vector version. just black, with white lines. it a nice feel. and right now we dont care about eyecandy, we care about getting you to make a sweet game. let me know when you are ready. i think we can do it in this thread, that way other people can follow us.
I do always use SDL_gfx! :lol:
I'm ready when you are...

Re: anyone wanna make an UGH! remake?

Posted: Fri Dec 05, 2008 5:03 pm
by Falco Girgis
I'm ready to spectate.

PixelP, this will be good for you, trust me.

Re: anyone wanna make an UGH! remake?

Posted: Fri Dec 05, 2008 5:06 pm
by PixelP
GyroVorbis wrote:PixelP, this will be good for you, trust me.
Hopefully I'll learn a lot...

Re: anyone wanna make an UGH! remake?

Posted: Fri Dec 05, 2008 5:07 pm
by avansc
PixelP wrote:
GyroVorbis wrote:PixelP, this will be good for you, trust me.
Hopefully I'll learn a lot...
so did you get SDL_gfx working? its only a few libs, include files. and a DLL.

Re: anyone wanna make an UGH! remake?

Posted: Fri Dec 05, 2008 5:09 pm
by PixelP
PixelP wrote:I do always use SDL_gfx! :lol:

Re: anyone wanna make an UGH! remake?

Posted: Fri Dec 05, 2008 5:20 pm
by avansc
PixelP wrote:
PixelP wrote:I do always use SDL_gfx! :lol:

my bad.

okay. lets get this part started.

plan of attack

we know we are going have a level with only rectangular object.

so first think i want you to do is make us 2 classes.

object. with member variables
X
Y
width
heigt

then a level class that hass 10 object objects in them (we wont worry about linked list in this game)

class level
{
object levelData[10];
}

something like that.


when you are dont post them and i will critique them and tell you if you are doing a good job.

Re: anyone wanna make an UGH! remake?

Posted: Fri Dec 05, 2008 5:21 pm
by avansc
make all the variables public.

Re: anyone wanna make an UGH! remake?

Posted: Fri Dec 05, 2008 5:27 pm
by PixelP
I've made the two classes:

Code: Select all

//object.h
#pragma once

class ObjectClass {
    public:
        int x, y;
        int w, h;
};

Code: Select all

//level.h
#pragma once

class LevelClass {
    public:
        ObjectClass levelData[10];
};