Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - erico

Pages: 1 ... 266 267 [268] 269
GLBasic - en / Re: FOLD subroutines
« on: 2009-Dec-04 »
thanks future crow, folding subroutines in the IDE is what I was looking for.

I'm a messy programmer, learned to use arrays just some time ago, before that I would duplicate the variables and duplicate the code to achieve let's say, a second player. Can you believe it?not to mention enemies!! I remmember my 2 player fight game on the amiga to have something like 3k lines of code! (I still have the code).

Anyway my programs tend to get really big, I try to organize it by making it modular and lot's of documentations(rem), so a lot of subroutines pop up. Problem is that if I stay away from it, let's say a week, it becomes a pain to understand it again.

Folding subroutines helped me a lot on amos on these issues, so I was looking for it.

I understand nowadays there are a lot of ways to make the code more readable and efficient, I particularly enjoy the post on TYPES that is going on right now on the forum.

It is just that I'm learning it all and sometimes I want to achieve results by whatever way I can.

I noticed you can have tabs with extra codes on the ide, are they independent? can I, say, put a subroutine in a tab and make my main program look for that? is it possible? would they share global variables?

Thanks for the help, I believe the problem here is me, I should study more on the ways to keep the code clean and organized with the so many new commands glbasic offer on that. but folding helped this poor programmer sooo muuuuch!

GLBasic - en / FOLD subroutines
« on: 2009-Dec-04 »
is it possible to fold subroutines in glbasic like, for example,  AMOS used to do?
Does anyone have an idea on achieving similar goal? I'm sure there must be a way but it escapes me, help?


that second part made me remember programing basic on my first machine, a tandy color computer(coco2), hell that is mind frying on the first look, but efficient! could not help laugh when you said "low memory" as there were only 16kb available for coco basic...

excellent suggestions and snip!

Redostrike, I did not mean to let school loose, was just a joke, sorry. But again, if you need some help on the gfx, I would gladly help! I myself have to deal with freelance work and other bits that for sure get on my will to make part of this comp, I don't even know if I can finish in time yet, may have to drop some ideas... sad.

I got the idea of the rules now, but I could never hint as good as Futurecrow just did

something on the likes of EPIC on the amiga would be nice. Now if that option for a race game is not a joke, I'm found of stunt car race hehe.

if it could be a sci fi, maybe something as cool and complex as mechwarrior would be a gift (ships instead of robots of corse).

One good sci fi sim old school I think is a good reference is WARHEAD, check it here:

looks nice, I heard yathzee before but I don't know the rules (dices are not famous in brazil),
hey if you need some gfx for that count me in, rendering dices are fun.

I don't know what you mean by 'hold dices math' since I don't know the game rules, I will look into it and see if I can come up with any idea.

I guess what is important is for the game to be fun, keep up!
school and stuff can always wait for a little hehe, just joking

yep nice comp, got me into trying glbasic.
Go ahead lay some code! I think a board game is, some of them, easy to make. Now AI seems more difficult.
What game do you have in mind redostrike?
I made another possible gfx for solaris, this one seems to be final, I'm now back into the AI.

[attachment deleted by admin]

Bug Reports / Re: Playsound
« on: 2009-Nov-28 »
sure shot. Some programs have a normalization for sound so it keeps a reasonable wave that is not square. But like you said, don't blow up the volume or else you blow the data all together.

Bug Reports / Re: Playsound
« on: 2009-Nov-27 »
opa! that's the problem I have, so 30% and 50% (.3 and .5) works, nice, thanks.
I was waiting to check the sound commands latter.

Bug Reports / Re: Playsound
« on: 2009-Nov-26 »
hi there,

Don't know the answer to your question, for one thing, my encoding goes on an old version of sound forge, so far no problem. I have an issue with the volume though but it is just me(1 works fine, less doesn't work), did not mess with it enough. I will try your sound file and let you know how it goes...

Solaris or Captain Future, it will also have more colors. I would also like to try to keep the background alive too with little things happening so it gives more life as well as sound... anyway i'm in doubt this layout is ok, pixel art would also be fine...any idea references someone? next step should be AI and net play.

finally the engine is complete and the game is alive, I have doubts about the gfx and art in general, go for realistic? pixel? hints anyone? I will post a layout here of an idea... if nothing better comes by, it may have to do.

[attachment deleted by admin]

hey ynbniar,
nice gfx going on on those dev tools hehe, real cool, CGA rocking for me, awesome.
It somehow reminds me of a game on the way of colonel mustard card ando so on hehe!
Is my guess right? keep it up, post more!

hahaha really nice tube.

now the reason I did not talk about my boardgame was that I took an extra time to figure out which game to do. I'm not the best coder, so looking for an easier game structure is a must so it doesn't become vapour.

My choice is SOLARIS (captain future). Game from the 80s.
here goes another shot, the engine is almost complete.
The interface has a dwarf fortressnes fell hehe.
It shows a lot of the internals and 75% of this info won't be available for the players, It is just a display for debbugging the engine, but I like it's rogue look...

[attachment deleted by admin]

thanks all advices,

sure for computer players, AI coding will be interesting too.
The hide-card problem, which almost made me change game, was more or less solved by an idea of playing through instant messengers with some trust and similar to the real game.

Hey ynbniar,

nice screen there, I don't recognize the game either, but it is tempting! show more
I have a shoot here too, backstage visual. it's alive

[attachment deleted by admin]

Oh nice

Kitty Hello you have a great one there, I thought of codes but in an inefficient way, yours sounds great, that's creative!

In the game, each player keeps 10 cards all time.
point a target, and choose a combination of cards.
Since the player has to choose, picky adversaries could break the code. hmmm

Nice one the glasses too thanks FutureCow, the glasses are excellent, the game can be played relatively fast, casual, will not tire a person's eyes, tempting idea specially as a mode.

cards could appear small on the corner of the monitor, space bar show/hide), where you could use your hand to cover to your eyes only, of course this would require people relatively close to the monitor...hmmm

thinking about ideas, the current player cards could all be on the monitor,which is zoomed on the board so that the cards are off screen but there, the game gets played by a cellphone using one of those java bluetooth connections that show monitor screen and control mouse, on cellphone maybe the off screen part is visible when you are done press a 'enturn' button and hand the cellphone. board gets updated. Nuts.

Pages: 1 ... 266 267 [268] 269