Author Topic: PiraBASIC - Make.Games  (Read 8244 times)

GEEK

  • Jr. Member
  • **
  • Posts: 83
  • want to learn c++, if you want to teach me, pm me!
    • View Profile
Re: PiraBASIC - Make.Games
« Reply #15 on: 09. February 2014, 22:27:46 »
@piradyne,

ok, thanks for the help!
and that free licence sounds interesting ;)

@aurel,

you want me to understand all this? :

INT hlibsci,hsci,i
hlibsci = LoadLibrary "SciLexer.dll"
'print str(hlibsci)
INT rx,ry,rw,rh,ext,sci_style
rx=160: ry=80 : rw=466 : rh=340 : ext=0x200
sci_style =  WS_CHILD|WS_VISIBLE|ES_SUNKEN
hsci = CreateWindowEx(ext,"Scintilla","",sci_style,rx,ry,rw,rh,win,sciID,0,0)
UpdateWindow hsci
SENDMESSAGE(hsci, SCI_SETLEXER, SCLEX_OBASIC, 1)
SENDMESSAGE(hsci, SCI_STYLESETFORE, SCE_OB_DEFAULT,100)
'set sci backColor
'SENDMESSAGE(hsci, SCI_STYLESETBACK,32,RGB(252,248,220)) 'yellow
SENDMESSAGE(hsci, SCI_STYLESETBACK,32,0x00FFFFFF) 'white
SENDMESSAGE(hsci, SCI_STYLECLEARALL, 0, 1)
For i = 0 to 12
   SENDMESSAGE (hsci, SCI_STYLESETFONT, i, "Courier New")
   SENDMESSAGE (hsci, SCI_STYLESETSIZE, i, 10)
Next i
............

Aurel

  • Regular Member
  • Sr. Member
  • *
  • Posts: 272
    • View Profile
Re: PiraBASIC - Make.Games
« Reply #16 on: 09. February 2014, 22:54:08 »
Yes..
You say that you want editor for your own scripting language..right?
So if you know how to write scripting language you will probably understand how this work?
Anyway you can always visit my site or OxygenBasic site and download & compile
what you whish ..all is open source.
So you can modify ,change ,remove and simple tweak editor source to your needs...
new basic pro forum on;
http://basicpro.spacefor.site/smf/
GUEST posting enabled

GEEK

  • Jr. Member
  • **
  • Posts: 83
  • want to learn c++, if you want to teach me, pm me!
    • View Profile
Re: PiraBASIC - Make.Games
« Reply #17 on: 10. February 2014, 23:47:55 »
I don't want to overtake this topic with my problems so I will answer in pm...

tinyBigGAMES

  • Newcomer
  • *
  • Posts: 28
    • View Profile
    • tinyBig GAMES
Re: PiraBASIC - Make.Games
« Reply #18 on: 14. February 2014, 07:36:35 »
A small Asteroids Demo made with PiraBASIC, fully implemented in OOP style showing some advanced features of PiraBASIC and the integrated game engine:

  • Loading resources from a password protected ZIP archive
  • Music streaming directly from password protected ZIP archive
  • Music and sound effect playback
  • PolyPoint collision detection (with auto trace)
  • Parallax scrolling background
  • Startup dialog (control basic engine features)
  • Particle effects
  • Keyboard & mouse input
  • Texture & sprites
  • Textured fonts
  • And much more...

 
Jarrod Davis
Owner / Technical Director @ tinyBig GAMES
Facebook | Twitter | Youtube

GEEK

  • Jr. Member
  • **
  • Posts: 83
  • want to learn c++, if you want to teach me, pm me!
    • View Profile
Re: PiraBASIC - Make.Games
« Reply #19 on: 15. February 2014, 00:24:20 »
COOL :)

tinyBigGAMES

  • Newcomer
  • *
  • Posts: 28
    • View Profile
    • tinyBig GAMES
Re: PiraBASIC - Make.Games
« Reply #20 on: 15. February 2014, 01:57:07 »
Thanks!

Here is a peek at the IDE I'm working on. I was able to make good progress and it should be in the next release.

Jarrod Davis
Owner / Technical Director @ tinyBig GAMES
Facebook | Twitter | Youtube

GEEK

  • Jr. Member
  • **
  • Posts: 83
  • want to learn c++, if you want to teach me, pm me!
    • View Profile
Re: PiraBASIC - Make.Games
« Reply #21 on: 15. February 2014, 19:51:16 »
Personal i don't know if i would use the rules but it's Looking good :)
Can you maybe upload the part of the help file you already have?
Because I don't know how to start.. :P

tinyBigGAMES

  • Newcomer
  • *
  • Posts: 28
    • View Profile
    • tinyBig GAMES
Re: PiraBASIC - Make.Games
« Reply #22 on: 15. February 2014, 20:54:18 »
Hi, check your PM.
Jarrod Davis
Owner / Technical Director @ tinyBig GAMES
Facebook | Twitter | Youtube

GEEK

  • Jr. Member
  • **
  • Posts: 83
  • want to learn c++, if you want to teach me, pm me!
    • View Profile
Re: PiraBASIC - Make.Games
« Reply #23 on: 22. February 2014, 04:22:57 »
---------------------------
Unexpected Memory Leak
---------------------------
An unexpected memory leak has occurred. The unexpected small block leaks are:



1 - 12 bytes: TMoveArrayManager<System.Classes.TComponent> x 1, TMoveArrayManager<System.Classes.TCollectionItem> x 2, TIdStackWindows x 1, Unknown x 1

13 - 20 bytes: TLinks x 1, TNetBufs x 1, TIdHTTPProtocol x 1, UnicodeString x 9, Unknown x 1

21 - 28 bytes: TIconImage x 1, TMemoryStream x 1, TIdSMTPEnhancedCode x 2, TObjectList x 2, UnicodeString x 10

29 - 36 bytes: EAccessViolation x 1, TList<System.Classes.TComponent> x 1, TIdSASLEntries x 1, TIdReplySMTP x 2, TIdProxyConnectionInfo x 1, TList<System.Classes.TCollectionItem> x 2, TIdEntityRanges x 1, TIdReplyRFC x 2

45 - 52 bytes: TIdURI x 1

53 - 60 bytes: TPGUtils x 1, TIcon x 1

61 - 68 bytes: TPGDLL x 1, TPGLogFile x 1

69 - 76 bytes: TPGDisplayDevice x 1, TPGObjectList x 1

85 - 92 bytes: TTimer x 2, TStringList x 10, TPGAudioPlayer x 1, UnicodeString x 1

93 - 100 bytes: TPGNet x 1

101 - 108 bytes: TIdHeaderList x 8

117 - 124 bytes: Unknown x 1

125 - 132 bytes: TPGTimer x 1

133 - 140 bytes: TIdMetaHTTPEquiv x 1, UnicodeString x 1, Unknown x 1

141 - 148 bytes: TPGApplication x 1, UnicodeString x 1

173 - 188 bytes: UnicodeString x 1

189 - 204 bytes: TIdHTTPResponse x 1

221 - 236 bytes: TIdHTTPRequest x 1

349 - 380 bytes: TIdSMTP x 1

381 - 412 bytes: TIdHTTP x 1

877 - 956 bytes: TPGInput x 1

1053 - 1148 bytes: TNetCom x 1



The sizes of unexpected leaked medium and large blocks are: 41004, 4140, 4140, 4140, 4140, 4140, 4140, 4140, 4140, 4140, 4140, 4140, 4140, 4140, 4140, 4140, 4140, 4140, 4140, 4140, 4140, 4140, 4140, 4140, 4140, 4140, 4140, 4140, 4140, 4140, 4140, 4140, 4140, 14380, 6444, 3116, 327660


---------------------------
OK   
---------------------------

GEEK

  • Jr. Member
  • **
  • Posts: 83
  • want to learn c++, if you want to teach me, pm me!
    • View Profile
Re: PiraBASIC - Make.Games
« Reply #24 on: 22. February 2014, 04:23:44 »
---------------------------
Application Error
---------------------------
Exception EAccessViolation in module atiumdva.dll at 00001445.

Access violation at address 6B201445 in module 'atiumdva.dll'. Read of address 00000004.


---------------------------
OK   
---------------------------

tinyBigGAMES

  • Newcomer
  • *
  • Posts: 28
    • View Profile
    • tinyBig GAMES
Re: PiraBASIC - Make.Games
« Reply #25 on: 22. February 2014, 04:45:34 »
Hi,

1. I have leak detection enabled during development so you will see these types of displays
2. All of that is because an exception occurred at some point so the test of the code that relates to those classes and components where not released.
3. So now the questions becomes where did the error occur. Can you tell me what you was trying to do that generated this error?
Jarrod Davis
Owner / Technical Director @ tinyBig GAMES
Facebook | Twitter | Youtube

GEEK

  • Jr. Member
  • **
  • Posts: 83
  • want to learn c++, if you want to teach me, pm me!
    • View Profile
Re: PiraBASIC - Make.Games
« Reply #26 on: 22. February 2014, 17:21:43 »
made a new project, typed some code and then closed the window..
when I closed it, the errors appeared.

tinyBigGAMES

  • Newcomer
  • *
  • Posts: 28
    • View Profile
    • tinyBig GAMES
Re: PiraBASIC - Make.Games
« Reply #27 on: 22. February 2014, 18:11:40 »
Hi,

Well, for me to determine just what is going on I would need to know what code is trying to execute. For example, if you instantiate a class and did not free it, of if you try to free a the global application object which is disposed automatically, you can get these types of errors. So without seeing the code, I can not ascertain what is going wrong. You can PM me if you like.

Thanks

OR... if you create an console app (which is the default app type) and you force the console window close (by clicking the x button of the console window, not the main application window) rather than letting the app close down, you can get that spew of unreleased objects.
Jarrod Davis
Owner / Technical Director @ tinyBig GAMES
Facebook | Twitter | Youtube

Aurel

  • Regular Member
  • Sr. Member
  • *
  • Posts: 272
    • View Profile
Re: PiraBASIC - Make.Games
« Reply #28 on: 19. January 2016, 15:27:55 »
Where is "GEEK" with GREEN BRAIN  ;D ;D ;D
new basic pro forum on;
http://basicpro.spacefor.site/smf/
GUEST posting enabled