Begginner need some info

Previous topic - Next topic

basicgameskilled

Hello, I'm trying to get into glbasic, and I´ve followed all the tutorials, and I think I understand the basic functions and such, but I coulndt find additional tutorials to build on that. I would like to make a simple 2d game, and I guess I would like to know if there´s somewhere where I could read on algorithms I could read and try to code in glbasic, both to render and game specific code.

thank you.

Crivens

Open a project and look in the samples. There are loads. Also on the main GLB site there is a showroom that has loads of code samples.

Cheers
Current fave quote: Cause you like musicians and I like people with boobs.

basicgameskilled

#2
Awesome, but those samples explained? I'd like to know when to add specific algorithms each time.  What i want to make is a top down game, like alien breed, but simpler and in 2d.

matchy

There avast tutorials in the forum but I suggest the fastest and fun method of progressing is to post some of your code. Alternatively, if you have a specific sample code, then explaining it here will help other in future also. That's how we roll, I assume.  :good:

Crivens

Personally I find the samples better than tutorials, but then I've been programming for decades. Also look on the forum for GLB books (Ebooks I believe). There are some that have been made. I don't know how good they are but worth a gander.

Cheers
Current fave quote: Cause you like musicians and I like people with boobs.

fuzzy70

Quote from: Ocean on 2011-Dec-07
Read the source, Luke! ;)

:D

You could always do like what I did to learn GLB & that was to enhance the samples that come from the docs. I never finished mine as got sidetracked with other projects  :whistle:



[attachment deleted by admin]
"Why don't you just make ten louder and make ten be the top number and make that a little louder?"
- "These go to eleven."

This Is Spinal Tap (1984)

mentalthink

You have a enough info in the forum example... You can find a very long time , I think a couple of video, explaining from the hand of Glbasic Creator, how make a siple, but very util games, like space shotting games...

Another trick it´s load examples, I cousill the brick game, like Arkanoid, makeing somthing like this and understandig "Arrays" you will have a very great way do it, for make something more complex...

You have external and very good info, like MRTatoad Books, you can buy in LULU Books...

And well take a lot of pacience and a great amount of works hours, but you can see in a couple of weeks you have a little game, made all for youself.

If you want start to understand GLBASIC, and I tell you my experience, it´s very simple, (I don´t program before), use a lot of the help, and make very simple codes, like example, move a background whit keys, launch a Bomb whit command POW, look something of Basic Math(don´t care I don´t use complex things, basically sums, divive, mult.. ETC), and how I sayed, a lot of hours from the computer... in a year, you can move like I fish in water whit Glbasic, it´s very powerfull, and very very easy...

Welcome, to the forum.

Iván J

Wampus

Quote from: basicgameskilled on 2011-Dec-07
and I guess I would like to know if there´s somewhere where I could read on algorithms I could read and try to code in glbasic, both to render and game specific code.

There are a very large number of different places devoted to specific types of game or game mechanics. I think its best to go looking for them when you need them in the course of making a game, otherwise it would be a bit academic.

What mentalthink said about creating simple games then working up, that is the best way imo. If you were to try making a version of Space Invaders, Pac Man, Defender or another similar early game that is a good starting point. Doing that will teach you quickly. Anything that you need to complete a game you can go looking for, ask here, or work out the problem yourself.

What kind of game would you like to make?

Ian Price

QuoteIf you were to try making a version of Space Invaders, Pac Man, Defender or another similar early game that is a good starting point.

Actually ALL of those arcade games you mention are quite complex - just think about how much is going on in each of those games. Think of the AI, the movement patterns, the player limitation, the drawing of the screen, the interaction between characters/items/bullets, scoring, animation etc.

NONE of those games are less complex than an Alien Breed clone, which the OP mentioned that he wanted to do.

I would recommend starting by creating routines and demos, rather full games such as those listed to get a better understanding of the language syntax and structure. A really good place to start would be by looking at PeeJays tutorials - http://www.peejays-remakes.co.uk/tutorial/tutorial.html, which start with something very basic, then build on that to become a more complex interactive demo. PeeJays tutorial is pretty old, but should still work with current versions of GLB - however, if they don't you can have a go at fixing things yourself or ask the forums. We don't bite. Often.

And PeeJay, if you're reading this, it's been way too long mate. Come on back and say hello. :(
I came. I saw. I played.

fuzzy70

I can recommend PeeJays site as I had a look there when I started with GLB, Everything runs fine from what I recall although some required turning off "Explicit Declarations" from the projects menu as there are a few undefined variables.

If GLB is your 1st experience of programming then like follow Ian's link to PeeJays site, even if you are just new to GLB it is a handy site to visit.

Lee
"Why don't you just make ten louder and make ten be the top number and make that a little louder?"
- "These go to eleven."

This Is Spinal Tap (1984)

okee

A few easy ones to start with are:

A noughts and crosses game
A Blackjack game with Card Images
A match pairs game like (http://www.groovygames.com/kitty/pairs/)
A quiz game with graphic interface

There's no better way to learn than doing


Android: Samsung Galaxy S2 -  ZTE Blade (Orange San Francisco) - Ainol Novo 7 Aurora 2
IOS: 2 x Ipod Touch (1G)

fuzzy70

Quote from: okee on 2011-Dec-07
There's no better way to learn than doing

Very true, that's why I played with the "Lights out/LOGO" I posted earlier, as the game code was there already in the help file it allowed me to play with how sprites/polyvectors work in GLB, I used TYPES for the starfield & changed some other things as well.

I learnt a fair bit about GLB just doing that little (incomplete) example, more could be added like a time limit per lvl, high score table, title screen etc. Basically all the features you would see in a complete game.

Lee
"Why don't you just make ten louder and make ten be the top number and make that a little louder?"
- "These go to eleven."

This Is Spinal Tap (1984)

Wampus

What Ian said, not what I said.  :P

Quote from: Ian Price on 2011-Dec-07
And PeeJay, if you're reading this, it's been way too long mate. Come on back and say hello. :(

Double this.

Hatonastick

Quote from: Wampus on 2011-Dec-08
What Ian said, not what I said.  :P

Quote from: Ian Price on 2011-Dec-07
And PeeJay, if you're reading this, it's been way too long mate. Come on back and say hello. :(

Double this.
Ian is he still around on Retro Remakes?  Does anyone know if he's alright?
Mat. 5: 14 - 16

Android: Toshiba Thrive Tablet (3.2), Samsung Galaxy Tab 2 (4.1.2).
Netbook: Samsung N150+ Netbook (Win 7 32-bit + Ubuntu 11.10).
Desktop: Intel i5 Desktop with NVIDIA GeForce GTX 460 (Win 8.1 64-bit).

Ian Price

Quote
Ian is he still around on Retro Remakes?  Does anyone know if he's alright?
Not seen him on RR in ages. I really hope he's alright.
I came. I saw. I played.