Menu

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.

Show posts Menu

Messages - matchy

#61
On Linux/RPi, how can I fast pass an array (not command args nor serial) from a running GLBasic program to a running cpp (compiled with g++)?  :'( :S
#62
To update, my Pi0 arrived yesterday and have tested GLBasic and all good as far as performing like on a Pi.  ;)
#63
Noice. Hope you're not missing out on the super awesome LemonAmiga's top 50 Driving Games series with so many pseudo 3D racers that really compliments what you are doing.  ;)


#64
I pre-ordered mine and should be here next month. The hype has settled now but simply due to it's size, I keen to try it out. Test note, jessie lite does not have SDL but is fine with the full version on RPi2. I've save my video test for the Zero.  :good:
#65
It is you MrToad as I suspected but a little confused about your overall progress because of the test project which was after that video. Shady and impressive dude.
#66
It is in GLBasic and converted from the Javascript tutorial (link in first post) that is really well pseudo 3d explained.
#67
Okay. Who did this brilliant conversion?  :happy:


#68
Looks good and I like how there are RPi offline versions too.
#69
Just discovered there is no way to convert a string to float = -nan (RPi).  :sick: :noggin:
#70
Although I've attempted unsuccessfully many times to, I decided to try out 3D carefully on the Raspberry Pi 2 again and gladly discovered that it works very well this time. The problems that I encountered was X_ROTATION only caused the crash (segmentation fault or sometimes bus error). Also, SIN and COS are not working so I easily replaced that with QSIN/QCOS, to rotate the camera around the object. Ambient light work 95% but some flickering from scene rotation but spotlights don't work. Test file attached.

;) 8)

#71
You'd think $5 with zero day access would apply inversely for Moore's Law also?!  :noggin: I want it now when there is hype and discovery!  :D


https://www.reddit.com/r/raspberry_pi/comments/3vz7zy/raspberry_pi_zero_versus_elliott_405/
#72
I see what you mean bigS and I did have something like this. Pardon the complexity and I don't expect a complete solution, although the idea of any type parent was so that it could be generally called, well in this case the fruit may also be not in of basket type (eg. basket, box, bag have item_id).

Code (glbasic) Select


TYPE _container
    item_id
    fruit_sealed AS _group
    fruit_fresh AS _group
ENDTYPE

GLOBAL box as _container  // not the same as _base


#73
Ah. i was hoping it to be like Javascript, which is not real nor life either.  8)
#74
Send me one!  :D :D


There's so many clones, like the Roseberry Pi which is very fast.
#75
There's self. but how can I reference nested type referencing?   :-[
Logically, should there be parent. also?   :zzz:

Nested TYPE Example:
Code (glbasic) Select

TYPE _item
    id
    selected_id
    color
    size
    FUNCTION set:
         self.id = basket.item_id                    // absolute
//      self.id = parent.parent.item_id       // would prefer relative         
    ENDFUNCTION
ENDTYPE

TYPE _group
    apple AS _item
    banana AS _item
ENDTYPE

TYPE _base
    item_id
    fruit AS _group
ENDTYPE

GLOBAL basket as _base
basket.fruit.apple.set()