|
Post by Admin on Jan 30, 2021 17:20:22 GMT
Take part in the competition for the best interactive postcard written in Tauon Basic ( web version). The postcard theme is St. Valentine's day. The postcard code must meet the following criteria: 1. The postcard should not load graphics, music, or scripts from the outside of the app. 2. The program should consist of less than 512 lines. 3. The code must have standard formatting. 4. All code should be in one file. 5. The total file size should be less than 65536 bytes. 6. Do not use utilities for code compression. 7. By publishing your work for the contest, you agree to dedicate its code to the public domain. 8. The work must be published by 12:00 PM February 14 in this thread. 9. Evaluation and selection of winners will be made on February 15. Prizes: 1st place - TauonPC-1 2nd place - Delta's Shadow Collection edition 3rd place - Aliens Neoplasma Cassette edition Объявляется конкурс на лучшую интерактивную открыту написанную на Tauon Basic ( веб версия). Тематика открытки - день Всех Влюбленных. Код открытки должен соответствовать следующим критериям: 1. Открытка не должна подгружать графику, музыку или скрипты извне. 2. Размер кода не более 512 строк. 3. Код должен иметь нормальное форматирование. 4. Весь код должен быть в одном файле. 5. Объем файла не более 65536 символов. 6. Не использовать утилиты для компрессии кода. 7. Публикуя Вашу работу на конкурсе Вы соглашаетесь передать ее код в паблик домейн. 8. Работа должна быть опубликована до 24:00 часов 14 февраля в этом треде. 9. Оценка и выбор победителей будет произведен 15-го февраля. Призы: 1-е место TauonPC-1 2-е место Delta's Shadow Коллекционная версия 3-е место Aliens Neoplasma Кассетная версия
|
|
|
Post by НЕДЕЛЯ АГЕНТОВ on Feb 1, 2021 10:50:08 GMT
**конкурс на лучшую ИНТЕРАКТИВНУЮ открытку**
Есть проблема, нажатие на любую клавишу в редакторе завершает работу скрипта. С интерактивностью могут быть проблемы.
|
|
|
Post by Admin on Feb 1, 2021 14:20:57 GMT
Hello, you can use the following code to prevent exit from the program:
exitOnAnyKey(false);
|
|
|
Post by НЕДЕЛЯ АГЕНТОВ on Feb 1, 2021 14:26:48 GMT
Акей, благодарю
|
|
|
Post by inkutay on Feb 11, 2021 7:17:59 GMT
Доброго времени суток,
Конкурс на ИНТЕРАКТИВНУЮ открытку, значит нужно взаимодействие с программой, или это не обязательно?
Если надо взаимодействие с ней, то не подскажите как можно опросить мышь с клавиатурой?
и размещение работ до 24:00 часов 14 февраля по какому времени, московскому?
___________________________
Good time of day,
Competition for an INTERACTIVE postcard, so you need to interact with the program, or is it not necessary?
If you need to interact with it, then do not tell me how you can poll the mouse with the keyboard?
and the placement of works until 24: 00 on February 14, what time, Moscow time?
|
|
|
Post by Admin on Feb 11, 2021 14:16:25 GMT
Good time of day, Competition for an INTERACTIVE postcard, so you need to interact with the program, or is it not necessary? If you need to interact with it, then do not tell me how you can poll the mouse with the keyboard? and the placement of works until 24: 00 on February 14, what time, Moscow time? Interactivity is a plus but not a requirement. Please refer to this example to handle user input: tauon.boards.net/post/261/threadThe timeframe is set in Atlantic Standard Time (AST)
|
|
M!$#A
New Member
Posts: 4
|
Post by M!$#A on Feb 13, 2021 4:44:07 GMT
Tauon Basic looks like very cool playground... I just want to post at least one entry in case I wont be able to post more experiments until deadline
It touches "love"... a little bit)
Attachments:allyouneed.tbas.js (47.54 KB)
|
|
|
Post by inkutay on Feb 13, 2021 14:49:31 GMT
|
|
|
Post by weekoftheagents on Feb 13, 2021 15:07:25 GMT
Interactive Val 14th postcard Press "1" for a dance, "2" for a shaking ValNukem.tbs.js (60.78 KB)
|
|
M!$#A
New Member
Posts: 4
|
Post by M!$#A on Feb 15, 2021 2:05:10 GMT
And I want to put just an other entry... That a little bit more related to the contest's topic :-)
Attachments:evangelion.tabs.js (47.31 KB)
|
|
|
Post by Admin on Feb 15, 2021 14:39:24 GMT
Big Thanks for participating in the contest! Results:
1. inkutay (From Russia with love) 2. weekoftheagents (ValNukem) 3. M!$#A (evangelion)
Congratulations! Please send your details to contacts@tauonelectronics.com to get your prizes.
Feel free to share dev-story here, which tools were used to accomplish which tasks etc.
|
|
|
Post by inkutay on Feb 15, 2021 19:57:11 GMT
Hurray! Ура ! ![](//storage.proboards.com/7142383/thumbnailer/nLZMhpL0UwxAyqtdOxfC.png) thank you for the contest !
|
|
|
Post by serdjuk on Feb 15, 2021 19:58:49 GMT
Я просто так, попробовать че за зверь этот барсик, мне ненадо ни чего ![:)](//storage.proboards.com/forum/images/smiley/smiley.png) const WIDTH = 256
const HEIGHT = 192
const boardSize = 8 * 6
const chessLinesSize = 192 + 32
const chessLineData = [255,255,0,0,255,255,0,0,255,255,0,0,255,255,0,0,255,255,0,0,255,255,0,0,255,255,0,0,255,255,0,0,255,255,0,0]
const color = ["#FFF","#000","#FFF"]
Screen.setSize(WIDTH, HEIGHT)
clearStage("black");
let text = " Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
let letters = {}
for (let i=0; i < 33; i++) {
let spr = createSpriteFromChar(text[i], 16, "yellow", "black")
setSprite(spr, (i * 8), 96, 2)
letters[i] = spr
}
// let a = createSpriteFromChar (text, 8, "white")
// a.style.filter = "drop-shadow(10)"
let phase = 0, time = 0, x, y
let chessLines = {}
for(let i=0; i < chessLinesSize; i++) {
let c = (i & 31) > 15 ? 0 : 1
let spr = createSpriteFromBin(chessLineData.length * 8, 1, chessLineData, color[c], color[c + 1])
x = -(chessLineData.length * 8 / 2) - i
y = i - 32
setSprite(spr, x, y, 1)
chessLines[i] = spr
}
function onUpdate() {
time += Time.smoothDeltaTime
switch (phase) {
case 0:
entry()
break
case 1:
rotate()
break
case 2:
byaka()
break
}
scroll()
}
function entry() {
for(let i=0; i < chessLinesSize ; i++) {
let t = time + i
x = chessLines[i].px + Math.sin(t) + 4
if (x >= 112) x = 112
chessLines[i].px = x
setSprite(chessLines[i])
}
if (chessLines[chessLinesSize - 2].px == 112) {
phase = 1
x = (chessLines[0].px + (Math.sin(time) * 64.0)) & 31
chessLines[0].px = x
y = (chessLines[0].py + (Math.cos(time) * 64.0)) & 31
chessLines[0].py = y
}
}
let accelX = 1.0
let accelY = 1.0
function rotate() {
accelX += 0.2
if (accelX >= 128.0) {
accelX = 128.0
accelY = accelY - 0.2 <= 0 ? 0 : accelY - 0.2
} else {
accelY = (accelX / 2)
}
x = ((Math.sin(time) * accelX) ) & 31
y = ((Math.cos(time) * accelY) ) & 31
for(let i=0; i < chessLinesSize ; i++) {
chessLines[i].px = (x + 112)
chessLines[i].py = (i - y)
setSprite(chessLines[i])
if (accelY == 0) phase = 2
}
}
roadScale = 1.0
function byaka() {
let rS = roadScale
for(let i=0; i < chessLinesSize ; i++) {
let scaleX = Math.sin(rS)
rS += (1/32)
setSpriteScale(chessLines[i], scaleX, 1)
}
roadScale -= Time.smoothDeltaTime
// if (roadScale <= 0) roadScale = 0
}
let sX = 0,sY = 96
let firstLetter = 33
function scroll() {
sY = (Math.sin(time) * 64)+96
for (let i=0; i < 33; i++) {
setSprite(letters[i],sX + (i * 8) - 4, sY , 2)
}
sX = (sX - 1) & 7
if (sX == 7) {
for(let i = 0;i < 32;i++) {
letters[i] = letters[i + 1]
}
firstLetter++
if (firstLetter >= text.length - 33) firstLetter = 33
letters[32] = createSpriteFromChar(text[firstLetter], 16, "yellow", "black")
}
}
demo.tbas.js (3.19 KB)
|
|
M!$#A
New Member
Posts: 4
|
Post by M!$#A on Feb 16, 2021 20:43:05 GMT
Thank you for the contest!
1) For image planning and pixel drawing I used GIMP 2) For compress pixel data I used custom python script (based on Houdini COP) 3) For music I used Online Sequencer (https://onlinesequencer.net/) to get midi file, and then used custom midi converter to build line that I could to pass into Tauon's playMusic function. (but during development for some reason "R" was not detected in that line and "C D" and "C R R R R D" were playing the same in my "TauonBasicWeb"... That is why I put everything in one channel without pauses and I thought that it was enough to have some similarity with original Cruel Angel's Thesis)
|
|
|
Post by Admin on Feb 16, 2021 22:47:41 GMT
Thank you for the contest! (but during development for some reason "R" was not detected in that line and "C D" and "C R R R R D" were playing the same in my "TauonBasicWeb"... Could you please post a faulty music piece, I just checked, and R's work's as expected...
|
|