anyone wanna make an UGH! remake?

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

User avatar
avansc
Respected Programmer
Respected Programmer
Posts: 1708
Joined: Sun Nov 02, 2008 6:29 pm

anyone wanna make an UGH! remake?

Post 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.
Some person, "I have a black belt in karate"
Dad, "Yea well I have a fan belt in street fighting"
User avatar
PixelP
Chaos Rift Regular
Chaos Rift Regular
Posts: 153
Joined: Tue Oct 07, 2008 12:23 pm
Programming Language of Choice: c/c++
Location: sweden
Contact:

Re: anyone wanna make an UGH! remake?

Post by PixelP »

I've never played this game, but it looks really cool.
User avatar
avansc
Respected Programmer
Respected Programmer
Posts: 1708
Joined: Sun Nov 02, 2008 6:29 pm

Re: anyone wanna make an UGH! remake?

Post 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.
Some person, "I have a black belt in karate"
Dad, "Yea well I have a fan belt in street fighting"
User avatar
PixelP
Chaos Rift Regular
Chaos Rift Regular
Posts: 153
Joined: Tue Oct 07, 2008 12:23 pm
Programming Language of Choice: c/c++
Location: sweden
Contact:

Re: anyone wanna make an UGH! remake?

Post 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?
User avatar
avansc
Respected Programmer
Respected Programmer
Posts: 1708
Joined: Sun Nov 02, 2008 6:29 pm

Re: anyone wanna make an UGH! remake?

Post 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?
Some person, "I have a black belt in karate"
Dad, "Yea well I have a fan belt in street fighting"
User avatar
PixelP
Chaos Rift Regular
Chaos Rift Regular
Posts: 153
Joined: Tue Oct 07, 2008 12:23 pm
Programming Language of Choice: c/c++
Location: sweden
Contact:

Re: anyone wanna make an UGH! remake?

Post 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
User avatar
avansc
Respected Programmer
Respected Programmer
Posts: 1708
Joined: Sun Nov 02, 2008 6:29 pm

Re: anyone wanna make an UGH! remake?

Post 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.
Some person, "I have a black belt in karate"
Dad, "Yea well I have a fan belt in street fighting"
User avatar
PixelP
Chaos Rift Regular
Chaos Rift Regular
Posts: 153
Joined: Tue Oct 07, 2008 12:23 pm
Programming Language of Choice: c/c++
Location: sweden
Contact:

Re: anyone wanna make an UGH! remake?

Post 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...
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Re: anyone wanna make an UGH! remake?

Post by Falco Girgis »

I'm ready to spectate.

PixelP, this will be good for you, trust me.
User avatar
PixelP
Chaos Rift Regular
Chaos Rift Regular
Posts: 153
Joined: Tue Oct 07, 2008 12:23 pm
Programming Language of Choice: c/c++
Location: sweden
Contact:

Re: anyone wanna make an UGH! remake?

Post by PixelP »

GyroVorbis wrote:PixelP, this will be good for you, trust me.
Hopefully I'll learn a lot...
User avatar
avansc
Respected Programmer
Respected Programmer
Posts: 1708
Joined: Sun Nov 02, 2008 6:29 pm

Re: anyone wanna make an UGH! remake?

Post 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.
Some person, "I have a black belt in karate"
Dad, "Yea well I have a fan belt in street fighting"
User avatar
PixelP
Chaos Rift Regular
Chaos Rift Regular
Posts: 153
Joined: Tue Oct 07, 2008 12:23 pm
Programming Language of Choice: c/c++
Location: sweden
Contact:

Re: anyone wanna make an UGH! remake?

Post by PixelP »

PixelP wrote:I do always use SDL_gfx! :lol:
User avatar
avansc
Respected Programmer
Respected Programmer
Posts: 1708
Joined: Sun Nov 02, 2008 6:29 pm

Re: anyone wanna make an UGH! remake?

Post 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.
Some person, "I have a black belt in karate"
Dad, "Yea well I have a fan belt in street fighting"
User avatar
avansc
Respected Programmer
Respected Programmer
Posts: 1708
Joined: Sun Nov 02, 2008 6:29 pm

Re: anyone wanna make an UGH! remake?

Post by avansc »

make all the variables public.
Some person, "I have a black belt in karate"
Dad, "Yea well I have a fan belt in street fighting"
User avatar
PixelP
Chaos Rift Regular
Chaos Rift Regular
Posts: 153
Joined: Tue Oct 07, 2008 12:23 pm
Programming Language of Choice: c/c++
Location: sweden
Contact:

Re: anyone wanna make an UGH! remake?

Post 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];
};
Last edited by PixelP on Fri Dec 05, 2008 5:38 pm, edited 4 times in total.
Post Reply