BASIC

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 - nabz32

Pages: [1] 2 3 ... 20
1
Thanks,  :)
I hope so too .

2
Sorry for the late reply, I just installed GLBasic  v15,
compiled my code without problems.

I finished my bachelors thesis this year and now I have a job as a software engineer,

also I could become a father in about 7 months, if all goes well.

Of course you can take screenshots to promote glbasic, kitty hello.

Just posting here so you know that I am back on this project, really missed working on this and
doing some conversation with you guys.


3
GLBasic - en / Re: GLBasic pointer question
« on: 2017-Jul-26 »
I tried to create a class in inline, which compiles without errors,

I can create an object of it in INLINE,
and also create a DGArray of the class type.

But when I try to use DIMPUSH() on the DGArray in INLINE, I get countless errors suddenly.

Here is the Global INLINE Code:
Code: GLBasic [Select]
INLINE
        class SEdgeC{
                private:
                        DGInt x;
                        DGInt y;
                        SEdgeC* nextEdge;
                public:
                        SEdgeC( DGInt xN , DGInt yN );
                        SEdgeC* getNextEdge();
                        void addNewEdge(DGInt x , DGInt y );
                        void deleteAll();
        };
        SEdgeC::SEdgeC( DGInt xN , DGInt yN ){
                x = xN;
                y = yN;
                nextEdge = NULL;               
        }
        SEdgeC* SEdgeC::getNextEdge(){
                return nextEdge;
        }
        void SEdgeC::deleteAll(){
                if( nextEdge != NULL ){
                        nextEdge->deleteAll(); 
                }
                delete this;           
        }
        void SEdgeC::addNewEdge( DGInt xN , DGInt yN ){
                if( nextEdge != NULL ){
                        nextEdge->addNewEdge( xN , yN ); // add nextEdge to my nextEdge, if I allready have one
                } else nextEdge = new SEdgeC( xN , yN );        // if not then finally create the new edge
        }
        DGArray<SEdgeC> Sectors;
ENDINLINE
 

and the local INLINE code I used in my main function:
Code: GLBasic [Select]
INLINE
SEdgeC start( 0 , 0 );
start.addNewEdge( 0 , 0 );
ENDINLINE
 

this is all working, but when I call
Code: GLBasic [Select]
INLINE
DIMPUSH(Sectors,start);
ENDINLINE

I get tons of weird errors, telling me that every statement in the INLINE class is faulty.

4
GLBasic - en / Re: GLBasic pointer question
« on: 2017-Jul-24 »
thanks Schranz0r,

pretty good news for me  :good:

A small example would be greatly appreciated

5
Announcements / Re: Burguer stuff
« on: 2017-Jul-23 »
Very nice,

great work erico :good:

6
GLBasic - en / GLBasic pointer question
« on: 2017-Jul-23 »
Hello again,

only a small question, is it possible to build a linked list
in glbasic, something like:

Code: GLBasic [Select]
TYPE element

*element // store the next element in the list..

ENDTYPE
 

And then check if this Pointer is NULL?

Or is ist possible to access a c class inside the GLBasic code, without using EXTERN "C" all the time?
Having the abillity to write a linked list in GLBasic would be awesome.


7
That the way i will do it from now on, easter then up Loading it to an external server anyways.

8
Changed the Image Host and still got the problem you mentioned, I attached the image to the post instead.

Also I made a short video of the latest version, so you can see it in motion without having to install the game.

https://youtu.be/w7R5mmv8dXg


9
Started scripting some minigames  =D

Here is a crane minigame:

10
Announcements / Re: TH_AVOCADO MAYHEM
« on: 2017-Apr-05 »
Nice work Erico, I want to play this game now, stop teasing me :D

11
Thanks bigsofty.

the last thing I have added are bumper walls, which repell the player and are animated while doing so. ( Imagine the casino levels in the sonic games  ;) )

I also added air vents, which push the player upwards, based on their strength.
(Nice for rooftop levels  :D )

I came across many bugs, which where really hard to find ( like wrong terrain drawing when the terrain is hidden and under water at the same time ( I had mixed up x and y variables for the xmovement command :D).

Some enemy models have been replaced and the procedure that handles if the player jumped on an enemy or is hit by him has been improved in favor of the player.

Also the editor has more functions now.

I also tried a Linux compile, but the game crashed a pc of my friend ( running Linux mint ). Is Linux cross compile stable right now?

If anyone is interested in testing, just write me a PM, the game is much more user friendly now ( I hope  :) ).

12
GLBasic - de / Re: Grafik und Sound in Android
« on: 2017-Mar-14 »
Unterordner in Media machen Probleme in Android.
Edit: Sehe das du keine Unterordner hast, müsste eigtl. funktionieren

13
Its been a while, I have finished all the hairy exams so I had time to continue my project.

I mainly made new levels and models
and made soccer physics.

New minecart level



changes in the penguin village



Arcade:



Power plant:





Another level  =D




14
I use Full path, the Problem does not exist when i am on my Main pc.
When in debug mode the music play fine, maybe my ram on this laptop is faulty.
I will try it with ogg again.

15
Off Topic / Re: Happy new year!!!
« on: 2017-Jan-03 »
I wish you all a happy and productive year too  :good:
 :booze:

Pages: [1] 2 3 ... 20