Jump to content

View more

Image of the Day

Working on an auto spawn system. #gamedev #indiedev #screenshotsaturday https://t.co/Mm2kfekz7b
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now
- - - - -

AngelScript SDK 2.25.2 - Bytecode load example

4: Adsense

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   

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?


#2 Andreas Jonsson   Moderators   

4624
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   

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.