Jump to content



Photo
- - - - -

Doom For Fx-9860g


  • Please log in to reply
71 replies to this topic

#41 kucalc

kucalc

    Casio Maniac

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1422 posts
  • Location:USA
  • Interests:Programming: C/C++, Fortran, LISP, COBOL 85 Standard, PHP, x86 and SH3 Assembly<br /><br />Computer graphics

  • Calculators:
    fx-9860G / fx-7400G Plus / Algebra FX 2.0+ / fx-9770G / CFX-9850G / CFX-9850GB+ / TI-89 / TI-nSpire

Posted 02 February 2008 - 06:17 PM

Lol, yeah. I think it's find the way it is. I mean, if I use 4 colors, you get two problems:

* Instead of using two buffers, I would then need to use 3 buffers which means more it would eat up more memory and slower speeds
* People have a hard time distinguishing the light gray and the dark gray

As for the game, the main problem for me is the graphics and the AI. I'm not that awesome in designing and drawing graphics. However, I see others are great in doing that type of stuff (like E_net4 and thomatos). It would be great if you guys could help me out like in designing 16x16 sprite weapons. The biggest challenge for me as the programmer is going to be the AI. Raycasters have been attempted before for CASIO calculators (like Starscape for AFX), but never finished because it's difficult to implement AI.

BTW, I've updated my sig with the projects I'm currently working on and provide an estimation on how complete it is.

#42 E_net4

E_net4

    Casio Freak

  • Members
  • PipPipPipPip
  • 189 posts
  • Gender:Male
  • Location:Output(&quot;Error: Coord type not specified&quot;);
  • Interests:Programming 'n' stuff...

  • Calculators:
    CASIO fx 9860G SD

Posted 03 February 2008 - 07:58 PM

Alright, I'm going to help you with the weapons. I can even take them from the real PC Doom games. :)

However, I can't really help you with the AI. :/

#43 kucalc

kucalc

    Casio Maniac

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1422 posts
  • Location:USA
  • Interests:Programming: C/C++, Fortran, LISP, COBOL 85 Standard, PHP, x86 and SH3 Assembly<br /><br />Computer graphics

  • Calculators:
    fx-9860G / fx-7400G Plus / Algebra FX 2.0+ / fx-9770G / CFX-9850G / CFX-9850GB+ / TI-89 / TI-nSpire

Posted 04 February 2008 - 03:06 AM

Great! That's wonderful. :)

But the AI...

#44 E_net4

E_net4

    Casio Freak

  • Members
  • PipPipPipPip
  • 189 posts
  • Gender:Male
  • Location:Output(&quot;Error: Coord type not specified&quot;);
  • Interests:Programming 'n' stuff...

  • Calculators:
    CASIO fx 9860G SD

Posted 04 February 2008 - 01:16 PM

Just go ahead and work on it.

I actually noticed that weapons are too small as 16x16 sprites. I suggest you increase their size.

#45 Fez

Fez

    Casio Freak

  • Members
  • PipPipPipPip
  • 162 posts
  • Gender:Male
  • Location:Australia

  • Calculators:
    Casio fx-9860G AU

Posted 04 February 2008 - 01:41 PM

So I got bored and made the rocket Launcher XD.

It looks like the original Doom Rocket launcher. XD

RL1
const unsigned char RL1[] = {0x07,
0xE0,0x08,0x90,0x11,0x88,0x10,0x08,0x10,0x08,0x10,0x08,0x10,0x08,0x10,0x08,0x10,
0x08,0x10,0x08,0x10,0x08,0x10,0x08,0x10,
0x08,0x10,0x08,0x10,0x08,0x10,0x08};

RL2
const unsigned char RL2[] = {0x07,
0xE0,0x0F,0xF0,0x1F,0xF8,0x1F,0xF8,0x1F,0xF8,0x1F,0xF8,0x1F,0xF8,0x1F,0xF8,0x1F,
0xF8,0x1F,0xF8,0x1F,0xF8,0x1F,0xF8,0x1F,
0xF8,0x1F,0xF8,0x1F,0xF8,0x1F,0xF8};

Looks a little like this
Posted Image

#46 E_net4

E_net4

    Casio Freak

  • Members
  • PipPipPipPip
  • 189 posts
  • Gender:Male
  • Location:Output(&quot;Error: Coord type not specified&quot;);
  • Interests:Programming 'n' stuff...

  • Calculators:
    CASIO fx 9860G SD

Posted 04 February 2008 - 08:06 PM

Well, I really think they should be higher on resolution. You just compare the weapon to everything else and...

#47 kucalc

kucalc

    Casio Maniac

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1422 posts
  • Location:USA
  • Interests:Programming: C/C++, Fortran, LISP, COBOL 85 Standard, PHP, x86 and SH3 Assembly<br /><br />Computer graphics

  • Calculators:
    fx-9860G / fx-7400G Plus / Algebra FX 2.0+ / fx-9770G / CFX-9850G / CFX-9850GB+ / TI-89 / TI-nSpire

Posted 05 February 2008 - 01:26 AM

Ok, you may go larger. The width and the height dimensions must be in multiples of 8 (8, 16, etc.)

@Fez, thanks.

#48 jeffprod

jeffprod

    Newbie

  • Members
  • Pip
  • 2 posts
  • Gender:Male
  • Location:France

  • Calculators:
    fx-9860G SD
    CFX-9850GB PLUS
    fx-92 Coll?ge

Posted 05 February 2008 - 06:52 PM

i guys !

i just buy my new fx 9860 SD last week (yes :rolleyes: ) and i try the first G1A of kukalc and its awesome !

just a question for kucalc
The 3D engine will be GNU ? :greengrin:

in fact i will be very pleased to use it in the game that i developed for the casio competition
so i will be glad if i get the source code..


project dunlords II

It's an 3D RPG (like oblivion or gothic :greengrin: )
i developed a false 3D engine (it was the addition of pictures)

you can have a look a this adress

http://www.planet-ca...d-concours.html

keep the good job guys...

ps: excuse my english i'm french

#49 LordNPS

LordNPS

    Casio Freak

  • Members
  • PipPipPipPip
  • 173 posts
  • Gender:Male
  • Location:Porto/Portugal (makes me sad having to write this but....) /Europe
  • Interests:CG<br />Programming<br />Chess<br />Weapons<br />Porn<br />Explosives and rocketry<br />Calculators<br />History( mainly WW2 history)<br />

  • Calculators:
    FX 9860 SD


Posted 05 February 2008 - 07:29 PM

kucalc:
Nice project you have here going on : )
Did you program the 3D engine yourself or are using someone's? I had project going on a while back about a 3D engine of OpenGlish interface, but it never really went very far... I would really like to take a peek at those sources and analyze the engine if you would allow me. :rolleyes:


jeffprod:

Great :) an RPG would definitivly be handy for the long , slow paced, frequent algebra classes I have to endure, it's a shame it's in french for those who don't speak it... if you would like, I would gladly translate (je parle fra?ais aussi, peu, mais ma m?re est professeure de frencais, qulque palavre que je ne compris pas elle peut traduire )

#50 E_net4

E_net4

    Casio Freak

  • Members
  • PipPipPipPip
  • 189 posts
  • Gender:Male
  • Location:Output(&quot;Error: Coord type not specified&quot;);
  • Interests:Programming 'n' stuff...

  • Calculators:
    CASIO fx 9860G SD

Posted 05 February 2008 - 10:50 PM

@kucalc: Good, good, I'll make them 24x24.

#51 kucalc

kucalc

    Casio Maniac

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1422 posts
  • Location:USA
  • Interests:Programming: C/C++, Fortran, LISP, COBOL 85 Standard, PHP, x86 and SH3 Assembly<br /><br />Computer graphics

  • Calculators:
    fx-9860G / fx-7400G Plus / Algebra FX 2.0+ / fx-9770G / CFX-9850G / CFX-9850GB+ / TI-89 / TI-nSpire

Posted 06 February 2008 - 01:27 AM

@Jeffprod: I'm already giving away DOOM for free. :) So there is no need for a GNU license. GNU believes that "free software" is better than "open source." They say so themselves, "...the term ?open source? does not solve any problems, and in fact creates some.": http://www.gnu.org/p...or-freedom.html

@E_net4: I'm ok with that. :D

#52 E_net4

E_net4

    Casio Freak

  • Members
  • PipPipPipPip
  • 189 posts
  • Gender:Male
  • Location:Output(&quot;Error: Coord type not specified&quot;);
  • Interests:Programming 'n' stuff...

  • Calculators:
    CASIO fx 9860G SD

Posted 06 February 2008 - 11:12 AM

@kucalc: After some thoughts I changed my mind. I aprove that 32x32 is a better resolution for the job.

#53 kucalc

kucalc

    Casio Maniac

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1422 posts
  • Location:USA
  • Interests:Programming: C/C++, Fortran, LISP, COBOL 85 Standard, PHP, x86 and SH3 Assembly<br /><br />Computer graphics

  • Calculators:
    fx-9860G / fx-7400G Plus / Algebra FX 2.0+ / fx-9770G / CFX-9850G / CFX-9850GB+ / TI-89 / TI-nSpire

Posted 06 February 2008 - 03:14 PM

In my opinion the best license is a BSD-style license. It's the freeest license available. The AGPL / (L)GPL is too restrictive.
So, what do you want ? Do you want to help people so that they can use your source code without worrying about their own license ?
Or do you want to force people to disclose all their proprietary code just to be able to use your stupid "open source" stuff.

Lol, I thought public domain was the freest. :lol: I think there is some misunderstanding, I never said "open source" was better, I said that GNU said "free software" is better than "open source" and since I'm already giving away DOOM as "free software" and there is no problem to that, I don't need any licensing. Heck, you guys can give it to anyone or any of your friends.

There's always talk about licenses here at casiocalc.org, maybe I should start a thread about this.

@kucalc: After some thoughts I changed my mind. I aprove that 32x32 is a better resolution for the job.

Wow, that's way too big. :blink: But we will see.

#54 kucalc

kucalc

    Casio Maniac

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1422 posts
  • Location:USA
  • Interests:Programming: C/C++, Fortran, LISP, COBOL 85 Standard, PHP, x86 and SH3 Assembly<br /><br />Computer graphics

  • Calculators:
    fx-9860G / fx-7400G Plus / Algebra FX 2.0+ / fx-9770G / CFX-9850G / CFX-9850GB+ / TI-89 / TI-nSpire

Posted 06 February 2008 - 04:52 PM

You should rethink all your Creative Commons licensing - I hate it and it's not even compatible with the GPL.

I have been thinking about licenses for a while now. All this talk about licenses just cause anger and stress as there will always be competition on which license is more free or better and controversy on how the license is to be interpreted. In my opinion, I don't like most licenses out there anymore and I think many of them are flawed. For the future, I don't plan on using licenses anymore, instead I'll release my work under my own terms.

#55 jeffprod

jeffprod

    Newbie

  • Members
  • Pip
  • 2 posts
  • Gender:Male
  • Location:France

  • Calculators:
    fx-9860G SD
    CFX-9850GB PLUS
    fx-92 Coll?ge

Posted 06 February 2008 - 04:55 PM

kucalc: Ok that cool ! i don't know if you've already post the souce code ?
or can you give me it by mail (i just want to make an essay with my code...)

I'm in a period of exams so i will program next week....i'll give you some pics :rolleyes:



LordNPS: i need to improve my english (thanks for all)

#56 E_net4

E_net4

    Casio Freak

  • Members
  • PipPipPipPip
  • 189 posts
  • Gender:Male
  • Location:Output(&quot;Error: Coord type not specified&quot;);
  • Interests:Programming 'n' stuff...

  • Calculators:
    CASIO fx 9860G SD

Posted 06 February 2008 - 10:49 PM

Wow, that's way too big. But we will see.

No, not really. The height of the weapon won't be larger than the 32 pixels at most of the time. Also, you might want to take a look at the PC game, where the weapon's height is almost as high as half of the height of the screen.

#57 kucalc

kucalc

    Casio Maniac

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1422 posts
  • Location:USA
  • Interests:Programming: C/C++, Fortran, LISP, COBOL 85 Standard, PHP, x86 and SH3 Assembly<br /><br />Computer graphics

  • Calculators:
    fx-9860G / fx-7400G Plus / Algebra FX 2.0+ / fx-9770G / CFX-9850G / CFX-9850GB+ / TI-89 / TI-nSpire

Posted 07 February 2008 - 01:20 AM

I was talking about the amount of memory that would be required for a weapon sprite, but now that you mentioned pixel size it does seem a bit big. But if it looks good, then I'm ok with it. :)

#58 LordNPS

LordNPS

    Casio Freak

  • Members
  • PipPipPipPip
  • 173 posts
  • Gender:Male
  • Location:Porto/Portugal (makes me sad having to write this but....) /Europe
  • Interests:CG<br />Programming<br />Chess<br />Weapons<br />Porn<br />Explosives and rocketry<br />Calculators<br />History( mainly WW2 history)<br />

  • Calculators:
    FX 9860 SD


Posted 07 February 2008 - 02:23 PM

Worrying about the size of sprites...
How is the map geometry going to be stored? 3D Maps with full description of polys and their textures? quasi3D with multiple 2D Maps of Walls at different heights, or plain 2D with interpolated 3D walls?
Whats the AI scheme going to be like? Inbuilt node map and BFS(breadth first search) for best path? or just a simple Come and Slide (don't know the actual Name for the algorithm in english, it's a rough translation of portuguese "Vem e desliza"). I supose the Ai shouldn't be that difficult once implemented navigation and aiming (aiming could be simplified to randoms and chances ex:30% hits that would avoid raycasting shots and check for hits (it's bad enough having to do that for the player)) then some random choices of path for when an enemy is unware of the player presence, and then "follow and shoot" when they are aware.

I don't really know the state of the project, so if you've already taken these decisions what are they?
Great project btw kucalc :) I think we can help a little if you let us (or be a pain in the ass anyways).

#59 Fez

Fez

    Casio Freak

  • Members
  • PipPipPipPip
  • 162 posts
  • Gender:Male
  • Location:Australia

  • Calculators:
    Casio fx-9860G AU

Posted 07 February 2008 - 03:19 PM

(or be a pain in the ass anyways).

Woo! Something I'm good at :P

#60 kucalc

kucalc

    Casio Maniac

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1422 posts
  • Location:USA
  • Interests:Programming: C/C++, Fortran, LISP, COBOL 85 Standard, PHP, x86 and SH3 Assembly<br /><br />Computer graphics

  • Calculators:
    fx-9860G / fx-7400G Plus / Algebra FX 2.0+ / fx-9770G / CFX-9850G / CFX-9850GB+ / TI-89 / TI-nSpire

Posted 07 February 2008 - 09:53 PM

I'm putting all my CASIO programming indefinitely on halt. Something of great importance has come and requires my attention. It's kind of school related. If what I'm expecting turns out to be succesful, then I might never need to program CASIO and TI calcs anymore. (Yeah, it's that important to me and revolutionary)

You guys might notice that I'll become less active within the next couple of months, but don't worry. Just keep going.

#61 LordNPS

LordNPS

    Casio Freak

  • Members
  • PipPipPipPip
  • 173 posts
  • Gender:Male
  • Location:Porto/Portugal (makes me sad having to write this but....) /Europe
  • Interests:CG<br />Programming<br />Chess<br />Weapons<br />Porn<br />Explosives and rocketry<br />Calculators<br />History( mainly WW2 history)<br />

  • Calculators:
    FX 9860 SD


Posted 07 February 2008 - 10:06 PM

I'm sorry to to learn you are pausing ( or even stopping) your efforts... this community has taken great advantage of them, but if it is required to you... well though luck.

However I might say that you leave us all with curiosity: you (purposufully or not) failed to mention what event caused such a behavior :\, and by the rushed looking message and the uncertainty of the thing, we may very well wonder whether you are on the verge of a successful plot for world domination... I'll keep CNN tuned.

#62 kucalc

kucalc

    Casio Maniac

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1422 posts
  • Location:USA
  • Interests:Programming: C/C++, Fortran, LISP, COBOL 85 Standard, PHP, x86 and SH3 Assembly<br /><br />Computer graphics

  • Calculators:
    fx-9860G / fx-7400G Plus / Algebra FX 2.0+ / fx-9770G / CFX-9850G / CFX-9850GB+ / TI-89 / TI-nSpire

Posted 08 February 2008 - 02:10 AM

I'm sorry to to learn you are pausing ( or even stopping) your efforts...

Don't be sorry. In the future, you might see that I made the better choice. :)

However I might say that you leave us all with curiosity: you (purposufully or not) failed to mention what event caused such a behavior :\, and by the rushed looking message and the uncertainty of the thing, we may very well wonder whether you are on the verge of a successful plot for world domination... I'll keep CNN tuned.

Lol you're kind of correct, in a way. I shouldn't be talking about it in public, so I can't give you more details. But just to make it clear, my calc programming days are dwindling and running out. I'll still be around to answer some general help questions and give support. I might start a thread about it in the "Free Discussion Forum" explaining why I stopped programming later on, but not now.

#63 Fez

Fez

    Casio Freak

  • Members
  • PipPipPipPip
  • 162 posts
  • Gender:Male
  • Location:Australia

  • Calculators:
    Casio fx-9860G AU

Posted 08 February 2008 - 12:25 PM

*sniff*

Well, the ride was fun while it lasted! XD
Have fun doing the thing that you plan on doing, and have as much good luck with the thing that you are doing can possibly have!

I wouldn't have to be so funfusing with that if i knew what it was XD.....
Oh I didn't anyway. I could have just said good luck :P

#64 LordNPS

LordNPS

    Casio Freak

  • Members
  • PipPipPipPip
  • 173 posts
  • Gender:Male
  • Location:Porto/Portugal (makes me sad having to write this but....) /Europe
  • Interests:CG<br />Programming<br />Chess<br />Weapons<br />Porn<br />Explosives and rocketry<br />Calculators<br />History( mainly WW2 history)<br />

  • Calculators:
    FX 9860 SD


Posted 08 February 2008 - 05:11 PM

Kucalc: Best of Luck with you endeavor, whatever it may be.

I was wondering however, considering your coming absence if you would not entertain the possibility of releasing some sources... If you're gone the rest of us are going to have to kick in, and keep things rolling, you could delegate some of your more important works to us, so we could continue development (rather than starting everything from scratch) I'm particularly interested in the symbolix project.

Think about it.

P.S: I am still curious to know what are you doing after all...I am now considering Islamic Jihad... have you been offered your place in history of martyrdom?

#65 E_net4

E_net4

    Casio Freak

  • Members
  • PipPipPipPip
  • 189 posts
  • Gender:Male
  • Location:Output(&quot;Error: Coord type not specified&quot;);
  • Interests:Programming 'n' stuff...

  • Calculators:
    CASIO fx 9860G SD

Posted 08 February 2008 - 05:57 PM

Ow, man. This revolution can't just stop at this moment!
...Okay then. It's time to do them programs ourselves to keep this alive!

#66 kucalc

kucalc

    Casio Maniac

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1422 posts
  • Location:USA
  • Interests:Programming: C/C++, Fortran, LISP, COBOL 85 Standard, PHP, x86 and SH3 Assembly<br /><br />Computer graphics

  • Calculators:
    fx-9860G / fx-7400G Plus / Algebra FX 2.0+ / fx-9770G / CFX-9850G / CFX-9850GB+ / TI-89 / TI-nSpire

Posted 08 February 2008 - 07:15 PM

Unfortunately, my new project requires that I can't release the source of Symbolix. As I said before, it's school related and in school, there's math...

@E_net4: The Revolution is yet to come. ;)

#67 LordNPS

LordNPS

    Casio Freak

  • Members
  • PipPipPipPip
  • 173 posts
  • Gender:Male
  • Location:Porto/Portugal (makes me sad having to write this but....) /Europe
  • Interests:CG<br />Programming<br />Chess<br />Weapons<br />Porn<br />Explosives and rocketry<br />Calculators<br />History( mainly WW2 history)<br />

  • Calculators:
    FX 9860 SD


Posted 08 February 2008 - 07:37 PM

mhm <_< , if releasing the source compromises your project, then my guess from now would be that you've accidentally stumbled into Artificiall Intelegence, and are plotting to develop a sort of Intelligent Vacuum Cleaner that will make you millionaire and thus not need to finish education or to use a Casio calc ever again. :greengrin:

(When I get it right say so (so far: World Domination, Jihad, Intelligent Vacuum Cleaner plot)) <_<

#68 kucalc

kucalc

    Casio Maniac

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1422 posts
  • Location:USA
  • Interests:Programming: C/C++, Fortran, LISP, COBOL 85 Standard, PHP, x86 and SH3 Assembly<br /><br />Computer graphics

  • Calculators:
    fx-9860G / fx-7400G Plus / Algebra FX 2.0+ / fx-9770G / CFX-9850G / CFX-9850GB+ / TI-89 / TI-nSpire

Posted 08 February 2008 - 07:44 PM

I'm not going to say anything anymore. I've already told too much now.

#69 E_net4

E_net4

    Casio Freak

  • Members
  • PipPipPipPip
  • 189 posts
  • Gender:Male
  • Location:Output(&quot;Error: Coord type not specified&quot;);
  • Interests:Programming 'n' stuff...

  • Calculators:
    CASIO fx 9860G SD

Posted 09 February 2008 - 01:05 AM

Ow heck. I should think of a simple game to create. (PM me if you have any ideas)

#70 kucalc

kucalc

    Casio Maniac

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1422 posts
  • Location:USA
  • Interests:Programming: C/C++, Fortran, LISP, COBOL 85 Standard, PHP, x86 and SH3 Assembly<br /><br />Computer graphics

  • Calculators:
    fx-9860G / fx-7400G Plus / Algebra FX 2.0+ / fx-9770G / CFX-9850G / CFX-9850GB+ / TI-89 / TI-nSpire

Posted 19 July 2008 - 11:59 AM

Releasing a tech demo: http://www.assembla....ad/DAYSRAGE.RAR

Nothing new really, development is going really slow. Just posting it if anyone is interested. I'm thinking I should just instead make it a PC game. I already started making the PC version (no, it's not gonna be like DOOM as in a raycaster, but a DirectX 9 game as in think Halo), I'll post some screenshots soon.

#71 E_net4

E_net4

    Casio Freak

  • Members
  • PipPipPipPip
  • 189 posts
  • Gender:Male
  • Location:Output(&quot;Error: Coord type not specified&quot;);
  • Interests:Programming 'n' stuff...

  • Calculators:
    CASIO fx 9860G SD

Posted 27 July 2008 - 06:00 PM

Sounds like a shame, but you may be right. An FPS won't look so good on the calculator.
I guess and RPG isn't such a bad idea. I'll think about building some sort of map system or something. It's time for me to prove that I CAN DO C! >:D

#72 kucalc

kucalc

    Casio Maniac

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1422 posts
  • Location:USA
  • Interests:Programming: C/C++, Fortran, LISP, COBOL 85 Standard, PHP, x86 and SH3 Assembly<br /><br />Computer graphics

  • Calculators:
    fx-9860G / fx-7400G Plus / Algebra FX 2.0+ / fx-9770G / CFX-9850G / CFX-9850GB+ / TI-89 / TI-nSpire

Posted 29 July 2008 - 02:58 PM

Lol, well it would be great to see you program in C.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users