TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Other Topics
→
Teaching with Stencyl
→
Teaching Stencyl Code
Pages:
1
Teaching Stencyl Code
tamper2
Posts: 1
November 05, 2018, 02:11:13 am
Hi everyone,
This is my first year teaching programming using Stencyl, and I have a few students who have some previous knowledge of programming, and are interested in skipping block-code programming, and going right to actual text-based programming.
Any tips on how to direct them and teach them about actual coding in HaXe and Stencyl?
Thanks!
mdotedot
Posts: 1654
November 05, 2018, 11:53:13 am
You can have them mix blocks with code.
In Flow:Advanced there are code blocks that they can use in events.
You can use the view code block on an actor or scene event and use that code in the blocks. Use the binocular icon on the right hand side of the screen to show them the code. They can copy-paste pieces of that code and use that in the code blocks to tweak by themselves.
Stencyl engine is on github:
https://github.com/Stencyl/stencyl-engine
The blocks guide has most of the blocks in code as well:
http://www.stencyl.com/blocks/
Also they can make extensions purely in HaXe, but I guess that is a bit advanced.
When they know other languages they probably don't have use for the 'general' HaXe coding tutorials. They can pick up any Javascript / ActionScript course and see the similarities pretty quick as well.
Hope this helps!
Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.
merrak
Posts: 2738
November 05, 2018, 07:54:37 pm
Another option: When they create a new behavior, there is also the "code mode" option. This doesn't let you mix blocks and text code, but you do get a text editor with better features than the advanced code blocks... or you can use your own text editor.
`/\=======/\"-
Website! -
http://www.anorthogonaluniverse.com
Facebook -
http://www.facebook.com/rlwatson
Twitter -
https://twitter.com/merrak
Pages:
1