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.


Messages - yoplalala

Pages: 1 2 3 ... 99
1
Ask a Question / Re: Issues with mapping and lists
« on: June 19, 2021, 10:59:38 am »
No I mean you should do randomVal to ( random integer between 0 and ( number of items in ( league))  and use blocks.
 
You should use the block null , not write "null" . ( Because it thinks it the text "null")

 

2
Ask a Question / Re: Issues with mapping and lists
« on: June 19, 2021, 07:11:11 am »
How many teams are there in League ?

I would set randomVal between  0  and the number of items in League.  (not 20)

Suppose you are not lucky and everytime you get a 20 from the random val
you'll have team20, then null , null, null   null ....



3
Ask a Question / Re: string to code
« on: May 12, 2021, 08:04:05 am »
Hi, Max Marin !

What is your intention ?
You can use a  haxe parsing library called hscript  https://github.com/HaxeFoundation/hscript  . Hscript is used by Stencyl itself, so you don't need to download it .

You have to put  <haxelib name="hscript" /> in your settings.


4
Ask a Question / Re: Interstitial Ads Events without function?
« on: April 07, 2021, 06:20:05 am »
Yeah, sorry I thought you were talking about another ad extension ..

5
Ask a Question / Re: Interstitial Ads Events without function?
« on: April 07, 2021, 04:42:06 am »
In what type of events are you puttong the blocks, a "when creating" , " when updating" ?

6
Extensions / Mouse Gamepad [0.2]
« on: April 06, 2021, 09:52:27 am »
Mouse Gamepad

Desktop

Enable to move the mouse cursor  with the gamepad.

Prerequisites

Don't forget to set the gamepad to the controls

http://www.stencyl.com/help/view/gamepads/


Stencyl Blocks



Enable the mouse gamepad for the scene or actor.



Set the speed of the Gamepad mouse. Default is 1.



You have to set all the options to different controls
For example "Joystick down" to control "down" .


Now on Gitlab :  https://gitlab.com/haxe-stencyl/stencyl-mousegamepad

It hasn't been tested for a long time.

7
Lol, interesting. Maybe post post a suggestion in the issue tracker ? It should be nice to have a tag order for example.
Using the tags is bothersome, if you need to update the extension.

8
Extensions / Re: iOS Ambient Audio Extension
« on: April 05, 2021, 01:17:53 am »
Thanks Soereide ! Do you think there are some people who woudn't fix the silen audio on interrupts  ?
It it's the case I'll make a block. If it's not the case I'll make it to call it  automatically at the start of the app  without needing the blocks.

9
Ask a Question / Re: Arrange the blocks in an extension
« on: April 02, 2021, 03:51:51 pm »
I don't know if you can

10
Extensions / iOS Ambient Audio Extension
« on: April 01, 2021, 01:13:15 pm »
OpenFL iOS Audio Extension

This is the original extension https://github.com/grapefrukt/extension-ios-audio

I have just adapted  it to Stencyl.



Enables setting the iOS audio session as "ambient" to allow playback of external audio while playing a game. It also exposes a way to know if external music is playing or not.

# Stencyl specific usage

Enable the extension and then the app will enable to allow playback of external audio at the start of the Game.

Stencyl Blocks





You can enable or disable ambient music.


You can check if external music is playing ?



On Gitlab https://gitlab.com/haxe-stencyl/stencyl-extension_os_audio_ambient

PS: I haven't tested this extension for a long time

11
TOML Parser Extension



You can read about TOML here https://github.com/toml-lang/toml
or here https://toml.io/en/

Code: [Select]
# This is a TOML document.

title = "TOML Example"

[database]
server = "192.168.1.1"
ports = [ 8000, 8001, 8002 ]
connection_max = 5000
enabled = true

[servers]

  # Indentation (tabs and/or spaces) is allowed but not required
  [servers.alpha]
  ip = "10.0.0.1"
  dc = "eqdc10"

  [servers.beta]
  ip = "10.0.0.2"
  dc = "eqdc10"

[clients]
data = [ ["gamma", "delta"], [1, 2] ]

# Line breaks are OK when inside arrays
hosts = [
  "alpha",
  "omega"
]


Stencyl Blocks





will transform the previous toml text to a map.

Code: [Select]
{title => TOML Example, database => {server => 192.168.1.1, ports => [8000,8001,8002], connection_max => 5000, enabled => true}, servers => {alpha => {ip => 10.0.0.1, dc => eqdc10}, beta => {ip => 10.0.0.2, dc => eqdc10}}, clients => {data => [[gamma,delta],[1,2]], hosts => [alpha,omega]}}



Difference with official Specs



- Dates do not work

- In arrays, trailing commas don't work

  a = ["e", 4] OK

  a = ["e", 4,] NOT YET

- In arrays, only one double quotes list work

  a = ["aa","ee"] OK

  a = ['aa',"""eee""", '''eee'''] NOT YET


TODO Soon

- to be able to write toml back to a string


Improvements I want to make  but not soon

- accept ";" comments for total compatibility with .ini files
- give warnings when it doesn't obey to strict TOML guidelines
- be able to write comments dynamically to a toml file.


Improvements I want to make  but not soon





Now on gitlab :  https://gitlab.com/haxe-stencyl/toml_parser

12
Shouldn't be needed since Stencyl build b10363

13
Extensions / Re: Minifier Extension [1.1]
« on: March 30, 2021, 03:56:52 am »
Up because it has been updated.

14
Ask a Question / Re: game to google developer apk
« on: September 29, 2020, 01:03:59 pm »
No, it is not  possible with the free version of stencyl.
Now what you can do ( I think), is just send the apk created when you test the game  by email, or with a direct link ?

15
Extensions / [IMPROVED] Leaderboard in Google Spreadsheet
« on: September 22, 2020, 04:30:12 pm »
Based on the idea of

[HTML5] Leaderboard in Google Spreadsheet
By Gurigraphics

http://community.stencyl.com/index.php/topic,51126.0.html

Sponsored by GameDev408

What's different ?
- It also works on desktop ( and maybe IOS and ANDROID)
- It supports more than the top 10 scores
- It supports multiple sheets. ( example a Weekly, Monthly and Alltime sheet)

Tips and Tricks

- Limit the number of rows in the spreadsheet

- Also have weekly, monthly  leaderboard


In the "Script Editor",

Go to "Edition" (Tool ?) -- Triggers from this project
Click on "Add a trigger" on the bottom left
Choose for the function
" RunEveryWeek'
Choose the source of the event
"hourly event"
then choose the weekly interval, etc .

TO BE CONTINUED ...

Pages: 1 2 3 ... 99