Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


- - - - -

AngelScript SDK 2.25.2 - Bytecode load example


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 Sheldon1234   Members   -  Reputation: 109

Like
0Likes
Like

Posted 31 December 2012 - 05:42 PM

Hello everyone this is my first topic.
 
I met AngelScript now, and I was amazed at the quality.
 
I managed to make it run on my board with ARM9 Linux and also on my Windows PC.
 
I can run scripts sources, but I could not compile and execute bytecode.
 
In my application I will need to distribute the bytecode and not the sources.
 
I could not find any example of how to generate and load the bytecode using this latest version of AngelScript: AngelScript SDK 2.25.2
 
Can anyone help me with this?


Sponsor:

#2 Andreas Jonsson   Moderators   -  Reputation: 3414

Like
0Likes
Like

Posted 01 January 2013 - 06:18 AM

Manual: Pre-compiled byte code

 

The bytecode should be saved from a module that has been compiled from the source code. After that the bytecode can be loaded in another execution. 

 

Regards,

Andreas


AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

#3 FDsagizi   Members   -  Reputation: 514

Like
1Likes
Like

Posted 22 January 2013 - 02:23 AM

I use this:

 

http://www.everfall.com/paste/id.php?iore8puh6ktv






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS