Pages

luni, 14 august 2023

Blender 3D : Population addon.

In th enext video tutorial you can see how to use the Population addon to simulation crowds in Blender .

News : Godot testing project Godot4MainMenu001 - 001.

The other day I started working with Godot mono version 4.1.1 and C#. In the past I worked with Godot scripts but of the GDScript.
I made a simple range menu as seen in the video.
Today I also added the sound option and you can find it at this branch on the repository on my GitHub account.
This is the C# source for this main menu with a sound feature:
using Godot;
using System;

public partial class menu : Control
{
	// Called when the node enters the scene tree for the first time.
	public override void _Ready()
	{
		
	}

	// Called every frame. 'delta' is the elapsed time since the previous frame.
	public override void _Process(double delta)
	{
	}
	// 
	private void _on_options_pressed()
	{
		// Replace with function body.
		GD.Print("Option button");
		GetTree().ChangeSceneToFile("res://options.tscn");
	}
	//
	private void _on_exit_pressed()
	{
		// Replace with function body.
		GD.Print("Exit button");
		GetTree().Quit();
	}
	//
	private void _on_play_pressed()
	{
		// Replace with function body.
		GD.Print("Play button");
		GetTree().ChangeSceneToFile("res://play.tscn");
	}
	//
	private void _on_back_pressed()
	{
		// Replace with function body.
		GD.Print("Back button");
		GetTree().ChangeSceneToFile("res://menu.tscn");
	}
	
	private void _on_check_button_toggled(bool button_pressed)
	{
		// Replace with function body.
		
		var streamPlayer = GetNode<AudioStreamPlayer2D>("AudioStreamPlayer2D");
		streamPlayer.Stream = GD.Load<AudioStream>("res://ship-radar.wav");
		if(button_pressed) 
		{ 
			GD.Print("CheckButton sound : ", button_pressed);
			streamPlayer.Play();
		}
		else 
		{
			GD.Print("CheckButton sound : ", button_pressed);
			streamPlayer.Stop();
		}
	}
// top level closed
}

News : Book about aath equations in Unity.

Let’s create simple tools to visualize math equations in Unity.
The book is available on this official page.

duminică, 13 august 2023

News : Rainbow Six.

HTMX - new and old web design.

Because although it is old and yet new as an implementation in the field of design and graphics for the web, today I will include it as an article in the graphics blog. The advantages and disadvantages, development can be watched in the videos below.
htmx gives you access to AJAX, CSS Transitions, WebSockets and Server Sent Events directly in HTML, using attributes, so you can build modern user interfaces with the simplicity and power of hypertext ...
htmx is small (~14k min.gz’d), dependency-free, extendable, IE11 compatible & has reduced code base sizes by 67% when compared with react

News : free games on Epic Games.

... free games from Epic games.
The Epic Games platform because it comes with some good games and this week ...

sâmbătă, 12 august 2023

GAS - show appreciated videos with like it by me.

As I said, my old tutorial website is on hiatus and I am filling in blogs.
Today, an incomplete but functional script for searching in the playlist of appreciated videos with like it by me.
Create an access key in the Google Console and also enable the YouTube Data service in both the Google Console and the Editor.
Here is a script in GAS - Google Apps Script that allows you to access the playlist of videos you have liked.
function searchLikedVideos(query) {
    if (!query) {
    Logger.log('Vă rugăm să furnizați un cuvânt cheie de căutare.');
    return;
  }
  var apiKey = 'YOUR_API_KEY';

  var url = 'https://www.googleapis.com/youtube/v3/videos';
  url += '?part=snippet';
  url += '&myRating=like'; // "Like" filter
  url += '&q=' + encodeURIComponent(query); // Cuvântul cheie de căutare
  url += '&maxResults=50'; // 

  var options = {
    'method': 'get',
    'headers': {
    'Authorization': 'Bearer ' + ScriptApp.getOAuthToken(),
    'X-JavaScript-User-Agent': 'Google Apps Script',
    'X-GData-Key': 'key=' + 'YOUR_API_KEY',
    'X-YouTube-Client-Name': 'youtubeLikeI', // Numele aplicației dvs.
    'X-YouTube-Client-Version': '1.0', // Versiunea aplicației dvs.
    'X-YouTube-Developer-Key': 'YOUR_API_KEY',
    'X-YouTube-Api-Version': '3',
    'X-YouTube-Page-Cl': 'cl=3009377', // Cod unic asociat aplicației dvs.
    'X-YouTube-Page-Token': 'token=' + ScriptApp.getOAuthToken(),
    'X-YouTube-Utc-Offset': '120', // Offset-ul UTC
    'X-YouTube-Time-Zone': 'Europe/Bucharest', // Fusul orar
    'X-YouTube-Max-Upload-Rate': '20000', // Rata maximă de încărcare (în KB/s)
    'X-YouTube-Max-Download-Rate': '5000000', // Rata maximă de descărcare (în KB/s)
    'X-YouTube-Locale': 'ro_RO', // Localizarea dvs.
    'X-YouTube-Ad-Format': 'html5_1_adsense2_0'
    }
  };

  var response = UrlFetchApp.fetch(url, options);
  var data = JSON.parse(response.getContentText());

  if (data.items && data.items.length > 0) {
    for (var i = 0; i < data.items.length; i++) {
      var channel_ID = data.items[i].snippet.channelId;
      Logger.log('Channel Id: ' + channel_ID);
      var videoTitle = data.items[i].snippet.title;
      Logger.log('Video Title: ' + videoTitle);
    }
  } else {
    Logger.log('Nu s-au găsit videoclipuri "Like" pentru căutarea dată.');
  }
}

function search() {
  searchLikedVideos('theescapist');
}

function searchByKeyword() {
  var results = YouTube.Search.list('id,snippet', {q: 'like', maxResults: 25});
  for(var i in results.items) {
    var item = results.items[i];
    Logger.log('[%s] Title: %s', item.id.videoId, item.snippet.title);
  }
}
This script show the original title of the video and not that is show on YouTube browser where is translate, see : EVİNİZDE 3 PATATES VE 1 YUMURTANIZ VARSA‼️ BU KOLAY ...
The result in console log in the Editor script is this :
10:20:42 PM	Notice	Execution started
10:20:45 PM	Info	Channel Id: UCqg5FCR7NrpvlBWMXdt-5Vg
10:20:45 PM	Info	Video Title: An Unexpected Dump | Adventure is Nigh! - The Liar, The Witch and The Wartorn | S3 EP 2
10:20:45 PM	Info	Channel Id: UCXuqSBlHAE6Xw-yeJA0Tunw
10:20:45 PM	Info	Video Title: Facebook Sold me this Antivirus USB
10:20:45 PM	Info	Channel Id: UCelXvXZDvx8_TdOOffevzGg
10:20:45 PM	Info	Video Title: Now You Know with Zac and Jesse: Tesla, EVs, SpaceX, and Twitter
10:20:45 PM	Info	Channel Id: UCH91ivVTdIPZkhWi6oqeQPQ
10:20:45 PM	Info	Video Title: There's something INSANE about this..
10:20:45 PM	Info	Channel Id: UCX0JHmYdFAOr8k8xCvSc0FQ
10:20:45 PM	Info	Video Title: AI Texture Generator free online, Polycam, seamless texture maker with Blender test render
10:20:45 PM	Info	Channel Id: UC7Ln337Vpli1JHEFDks1t7g
10:20:45 PM	Info	Video Title: Signals in Godot are Amazing!
10:20:45 PM	Info	Channel Id: UCC0_trsvWYyqjZ3njunfU4Q
10:20:45 PM	Info	Video Title: Memory Management - Unity Tutorial
10:20:45 PM	Info	Channel Id: UCAvdfiv_vwTH0fw_LHvX21g
10:20:45 PM	Info	Video Title: ADEVĂRUL despre margarină! Ce spune Sorin Gadola despre ALIMENTELE INTERZISE
10:20:45 PM	Info	Channel Id: UC6nPUTO22UXVxD8uOei8BjA
10:20:45 PM	Info	Video Title: Seagate | "Just" a Hard Drive
10:20:45 PM	Info	Channel Id: UCSojAWUnEUTUcdA9iJ6bryQ
10:20:45 PM	Info	Video Title: Let's Create Our Character Controller! - Creating a Horror Game in Godot 4 Part 1 C#
10:20:45 PM	Info	Channel Id: UC1sELGmy5jp5fQUugmuYlXQ
10:20:45 PM	Info	Video Title: Building a Massive Carousel in Minecraft!
10:20:45 PM	Info	Channel Id: UCelXvXZDvx8_TdOOffevzGg
10:20:45 PM	Info	Video Title: Tesla, SpaceX, and Robots, Oh My!
10:20:45 PM	Info	Channel Id: UCAvdfiv_vwTH0fw_LHvX21g
10:20:45 PM	Info	Video Title: 3 trucuri pentru înfrânarea poftelor
10:20:45 PM	Info	Channel Id: UCjCpZyil4D8TBb5nVTMMaUw
10:20:45 PM	Info	Video Title: Unity Shader Graph - Changing Parameters in Script
10:20:45 PM	Info	Channel Id: UCggKidH56IZIGQ8SppxYn-Q
10:20:45 PM	Info	Video Title: iPad apps you NEED😍 digital reading journal | iPad pro & apple pencil
10:20:45 PM	Info	Channel Id: UCUL9n86w1_MYQmdg-aRhJDg
10:20:45 PM	Info	Video Title: KeenTools GeoTracker for Blender (Beta)
10:20:45 PM	Info	Channel Id: UCk-UHW1Q5EBJIHB4jHkVTbA
10:20:45 PM	Info	Video Title: Samsung NotePaper Screen for Tab S9 tablets (review for writing and drawing)
10:20:45 PM	Info	Channel Id: UCdWNZCe8NLVuYluV_FdGogA
10:20:45 PM	Info	Video Title: Gravelbike test TREK ALR 4
10:20:45 PM	Info	Channel Id: UCUBVVi3dFyBX0B4zUxbrw-Q
10:20:45 PM	Info	Video Title: Restoration of a rusty 30-year-old MERCEDES T1 bus / Part 1
10:20:45 PM	Info	Channel Id: UCFkyds8iRRwi64iPrVh_0AA
10:20:45 PM	Info	Video Title: #121 Protejarea tavanelor din beton chiar daca ai tavan fals
10:20:45 PM	Info	Channel Id: UCAE8fRq0xXh6gZ6d2EHYipQ
10:20:45 PM	Info	Video Title: Plajele de la Cercul Polar se bat cu cele din Seychelles! Caniculă în plină vară arctică
10:20:45 PM	Info	Channel Id: UCelXvXZDvx8_TdOOffevzGg
10:20:45 PM	Info	Video Title: Why Elon Musk chose Austin, Texas as America's boomtown
10:20:45 PM	Info	Channel Id: UCjgVg6F0nUF1707kAyzCXVQ
10:20:45 PM	Info	Video Title: Three USB C Foldable Keyboards With Trackpads
10:20:45 PM	Info	Channel Id: UC_0CVCfC_3iuHqmyClu59Uw
10:20:45 PM	Info	Video Title: The YY3568 Is An All New ARM Based SBC : DEV Board That Run Linux Or Android
10:20:45 PM	Info	Channel Id: UCjgVg6F0nUF1707kAyzCXVQ
10:20:45 PM	Info	Video Title: Three Folding Keyboards With Usb C
10:20:45 PM	Info	Channel Id: UCCQWuh2eCjq6K9aY4BrAETA
10:20:45 PM	Info	Video Title: Lost in a Lava Cave for Days Looking for a Secret Waterfall
10:20:45 PM	Info	Channel Id: UCKPLvnWhN1Qo51IDDZsmq1g
10:20:45 PM	Info	Video Title: SparkFun 20th Anniversary: Jennifer Mullins
10:20:45 PM	Info	Channel Id: UCelXvXZDvx8_TdOOffevzGg
10:20:45 PM	Info	Video Title: Astronaut Shortage Uncovered: The Surprising Truth
10:20:45 PM	Info	Channel Id: UCelXvXZDvx8_TdOOffevzGg
10:20:45 PM	Info	Video Title: How This Gamer Turned Virtual Money into 40K for Wildfire Relief
10:20:45 PM	Info	Channel Id: UCelXvXZDvx8_TdOOffevzGg
10:20:45 PM	Info	Video Title: TOP 3 ways a rocket launch can FAIL #starship #rocket #rocketlaunch
10:20:45 PM	Info	Channel Id: UCelXvXZDvx8_TdOOffevzGg
10:20:45 PM	Info	Video Title: Elon Musk's superpower
10:20:45 PM	Info	Channel Id: UCelXvXZDvx8_TdOOffevzGg
10:20:45 PM	Info	Video Title: I drove the original #tesla #roadster
10:20:45 PM	Info	Channel Id: UCOALNiNsBtmONJGCw-SCfgA
10:20:45 PM	Info	Video Title: Godot 4.0: Metadata Demonstration
10:20:45 PM	Info	Channel Id: UChdrIsYOHZXgEyCLaOHc2Ew
10:20:45 PM	Info	Video Title: Feţele libertăţii cu Andrei Şerban (@TVR1)
10:20:45 PM	Info	Channel Id: UCSojAWUnEUTUcdA9iJ6bryQ
10:20:45 PM	Info	Video Title: Creating a Flexable Level Loading System in Godot 4 C#
10:20:45 PM	Info	Channel Id: UCA4YUiMFaa3Wn4Rkd1UKFAw
10:20:45 PM	Info	Video Title: How to create a MENU in Godot 4.1!
10:20:45 PM	Info	Channel Id: UCTyq5-4JUA_-694Y2pNdYng
10:20:45 PM	Info	Video Title: Multiplayer in Godot 4 in 3 minutes
10:20:45 PM	Info	Channel Id: UCTyq5-4JUA_-694Y2pNdYng
10:20:45 PM	Info	Video Title: API calls in Godot 4 under 4 minutes
10:20:45 PM	Info	Channel Id: UCr-5TdGkKszdbboXXsFZJTQ
10:20:45 PM	Info	Video Title: Terrain3D - The New Terrain Engine for Godot
10:20:45 PM	Info	Channel Id: UCr-5TdGkKszdbboXXsFZJTQ
10:20:45 PM	Info	Video Title: Godot 4.1 Is Here!
10:20:45 PM	Info	Channel Id: UClARBYN-cvOBb4DhKKyjo2w
10:20:45 PM	Info	Video Title: 24) C language. Roguelike: simple AI of monsters. Movement and attack
10:20:45 PM	Info	Channel Id: UClARBYN-cvOBb4DhKKyjo2w
10:20:45 PM	Info	Video Title: Tiled GUIDE for developer (level/map editor)
10:20:45 PM	Info	Channel Id: UClARBYN-cvOBb4DhKKyjo2w
10:20:45 PM	Info	Video Title: [Solution] Issue with Unity license
10:20:45 PM	Info	Channel Id: UCX0JHmYdFAOr8k8xCvSc0FQ
10:20:45 PM	Info	Video Title: Blender Free Addon for Tree Generator - Generate Tree 3D Model
10:20:45 PM	Info	Channel Id: UC-2Y8dQb0S6DtpxNgAKoJKA
10:20:45 PM	Info	Video Title: Date Z - Announce Trailer | PS5 & PS4 Games
10:20:45 PM	Info	Channel Id: UCelXvXZDvx8_TdOOffevzGg
10:20:45 PM	Info	Video Title: Space library tour with astronomer Jonathan McDowell!
10:20:45 PM	Info	Channel Id: UCUOilIEi4sJqM8Z1W53RXZw
10:20:45 PM	Info	Video Title: Dread the Dragons! | The Vallorian Legend | Chapter 21 | Elvenar
10:20:45 PM	Info	Channel Id: UCiHVGt9LmI1SBaswRg3Ufnw
10:20:45 PM	Info	Video Title: EVİNİZDE 3 PATATES VE 1 YUMURTANIZ VARSA‼️ BU KOLAY VE LEZZETLİ PATATES TARİFİNİ HAZIRLAYIN🤌
10:20:45 PM	Info	Channel Id: UCRSx63y-VPidCrycgDS-o_Q
10:20:45 PM	Info	Video Title: [SOLVED] Bone Heat Weighting failed (Automatic Weights doesn't work in Blender)
10:20:43 PM	Notice	Execution completed

News : another video from The Escapist.

... Yes, it's a nice lineup!

News : World of Warcraft another video.

News : 20 Hunt Challenge - The Hunter Call of the Wild Gameplay.

Gource

... here is a system for evaluating the evolution of a software, in the case of DC++.
The video was generated with Gource, http://code.google.com/p/gource/

Ubisoft instagram

I don't knwow, the youtube channel of Ubisoft has another content ...

vineri, 11 august 2023

News : Deviantart website comes with low prices.

I didn't really have time to focus on the artist side, I only processed what I needed and what appeared in the development of tools in this field.
I could say that I have tested the production part towards development with open-source tools, and it is quite difficult work because it involves many rules.
Here's the news, this site known for artists has enough functionalities and enough content, here it comes with low prices.
I know most of the websites of this kind and I recommend it because it offers sales capabilities to a large number of users.
Unwrap 50% Off catafest, you’re invited to DeviantArt’s 23rd birthday! Grab a party favor and save 50% when you unwrap Core features like these: Personalize your style with Custom Sections and Profile Skins Sell Adoptables, or offer Subscriptions to your fans Schedule and submit multiple deviations at once Organize artwork with Sub-Galleries and Private Collections Give badges to art and comments you love with weekly fragment grants …and much more!